- 16 Dec, 2002 18 commits
-
-
Joe Thornber authored
The block layer does not honour bio->bi_size when issuing io, instead it performs io to the complete bvecs. This means we have to change the bio splitting code slightly. Given a bio we repeatedly apply one of the following three operations until there is no more io left in the bio: 1) The remaining io does not cross an io/target boundary, so just create a clone and issue all of the io. 2) There are some bvecs at the start of the bio that are not split by a target boundary. Create a clone for these bvecs only. 3) The first bvec needs splitting, use bio_alloc() to create *two* bios, one for the first half of the bvec, the other for the second half. A bvec can never contain more than one boundary.
-
Joe Thornber authored
o If there's an error you still need to call bio_endio with bio->bi_size as the 'done' param. o Simplify clone_endio. [Kevin Corry]
-
Joe Thornber authored
Remove verbose debug message 'Splitting page'.
-
Joe Thornber authored
Remove some paranoia in highmem.c
-
Joe Thornber authored
Some fields in the duplicated bio weren't being set up properly in __split_page(). [Kevin Corry]
-
Joe Thornber authored
md->pending was being incremented for each clone rather than just once. [Kevin Corry]
-
Joe Thornber authored
dec_pending(): only bother spin locking if io->error is going to be updated. [Kevin Corry]
-
Joe Thornber authored
Add a blk_run_queues() call to encourage pending io to flush when we're doing a dm_suspend().
-
Joe Thornber authored
dm_suspend(): Stop holding the read lock around the while loop that waits for pending io to complete.
-
Joe Thornber authored
queue_io() was checking the DMF_SUSPENDED flag rather than the new DMF_BLOCK_IO flag. This meant suspend could deadlock under load.
-
Joe Thornber authored
Give each device its own io mempool to avoid a potential deadlock with stacked devices. [HM + EJT]
-
Joe Thornber authored
There's a bug in the dm-stripe.c constructor failing top check if enough destinations are handed in. [Heinz Mauelshagen]
-
Joe Thornber authored
minor change for dm-stripe.c. Tests for correct chunksize before it allocates the stripe context. [Heinz Mauelshagen]
-
Joe Thornber authored
check_device_area was comparing the bytes with sectors. [Stefan Lauterbach]
-
Joe Thornber authored
No need to validate the parameters if we are doing a REMOVE_ALL command.
-
Joe Thornber authored
Return -ENOTBLK if lookup_device() finds the inode, but it is not a block device. [Cristoph Hellwig]
-
Joe Thornber authored
An error value was not being checked correctly in open_dev(). [Kevin Corry]
-
Joe Thornber authored
Four constants: DM_DIR, DM_MAX_TYPE_NAME, DM_NAME_LEN, DM_UUID_LEN Were being declared in device-mapper.h, these are all specific to the ioctl interface, so they've been moved to dm-ioctl.h. Nobody in userland should ever include <linux/device-mapper.h> so remove ifdef __KERNEL guards.
-
- 15 Dec, 2002 22 commits
-
-
Andrew Morton authored
The writepage-removal patch broke filesystems which do not want to support writeable mappings. Fix that up by making those filesystems point their mmap vector at the new generic_file_readonly_mmap().
-
Linus Torvalds authored
-
Linus Torvalds authored
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Greg Ungerer authored
This patch addes the new restart_block field support to m68knommu thread_info.h.
-
Greg Ungerer authored
This patch adds a definition for TASK_UNMAPPED_BASE in m68knommu process.h. Recent changes need a definition for this, although its value is unsed for nommu targets.
-
Greg Ungerer authored
The patch include cache.h in m68knommu hardirq.h. Cleans up compile problems, and make its consistent with all other architecture hardirq.h files.
-
Greg Ungerer authored
This changes m68knommu current.h to include the linux/thread_info.h instead of asm/thread_info.h. This is needed to get the restart_block definition from linux/thread_info.h first.
-
Greg Ungerer authored
This fixes the broken ELF_CORE_COPY_REGS macro for m68knommu arch. It is missing a ";" after the pr_reg[16] setting, and attempts to set the non-existant a2 field.
-
Greg Ungerer authored
This removes use of the depricated sys_security system call entry for the m68knommu architectures.
-
Greg Ungerer authored
This adds spinlocks around calls to generic kernel signal routine calls.
-
Greg Ungerer authored
This adds the missing argument to do_fork() calls in m68knommu arch process.c
-
Greg Ungerer authored
This fixes the use kstat_cpu in m68knommu arch ints.c Replcae obsolete use of kstat.irqs.
-
Stelian Pop authored
This little patch changes the way button release events are reported by the sonypi driver to the application: previously, separate release events were detected for each button. However, many buttons (example: the jogdial, the capture button, the back button etc) share the same release event. The attached patch propagates a single 'ANYBUTTON_RELEASED' event to the userspace, leaving all state machine intelligence to the application. Kunihiko IMAI should be credited for his ideas and tests.
-
Dario Ballabio authored
The enclosed patch fix compile problems and adds all the diffs which were still missing from 2.5.51.
-
Linus Torvalds authored
-
Ben Collins authored
This covers a lot of ground in the Linux1394 SVN tree. I haven't had time to keep in sync with you in a more granular way, so here's a bohemoth patch. However, consider it well tested.
-
Art Haas authored
-
Art Haas authored
-
Art Haas authored
-
Art Haas authored
-
Art Haas authored
-