joe at fib011235813.fsnet.co.uk
Wed Dec 11 06:24:02 UTC 2002
A new stable release of dm for 2.5.51 is available:
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.
An error value was not being checked correctly in open_dev().
Return -ENOTBLK if lookup_device() finds the inode, but it
is not a block device. [Cristoph Hellwig]
No need to validate the parameters if we are doing a
check_device_area was comparing the bytes with sectors.
minor change for dm-strip.c. Tests for correct chunksize before it allocates
the stripe context. [Heinz Mauelshagen]
There's a bug in the dm-stripe.c constructor failing top check if enough
destinations are handed in. [Heinz Mauelshagen]
Give each device its own io mempool to avoid a potential
deadlock with stacked devices. [HM + EJT]
queue_io() was checking the DMF_SUSPENDED flag rather than the new
DMF_BLOCK_IO flag. This meant suspend could deadlock under load.
dm_suspend(): Stop holding the read lock around the while loop that
waits for pending io to complete.
Add a blk_run_queues() call to encourage pending io to flush
when we're doing a dm_suspend().
dec_pending(): only bother spin locking if io->error is going to be
updated. [Kevin Corry]
md->pending was being incremented for each clone rather than just
once. [Kevin Corry]
Some fields in the duplicated bio weren't being set up properly in
__split_page(). [Kevin Corry]
Remove some paranoia in highmem.c, need to check this with Jens Axboe.
Remove verbose debug message 'Splitting page'.
More information about the linux-lvm