linux-uconsole/drivers/md
Justin Maggard 7b17b8b11b md: fix return value of rdev_size_change()
commit c26a44ed1e upstream.

When trying to grow an array by enlarging component devices,
rdev_size_store() expects the return value of rdev_size_change() to be
in sectors, but the actual value is returned in KBs.

This functionality was broken by commit
     dd8ac336c1
so this patch is suitable for any kernel since 2.6.30.

Signed-off-by: Justin Maggard <jmaggard10@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-12-09 13:26:46 -08:00
..
raid6test md: drivers/md/unroll.pl replaced with awk analog 2009-10-16 16:25:19 +11:00
.gitignore
bitmap.c md/raid1: delay reads that could overtake behind-writes. 2010-08-13 13:20:25 -07:00
bitmap.h md/raid1: delay reads that could overtake behind-writes. 2010-08-13 13:20:25 -07:00
dm-bio-record.h
dm-crypt.c dm crypt: make wipe message also wipe essiv key 2009-12-18 14:05:04 -08:00
dm-delay.c dm table: pass correct dev area size to device_area_is_valid 2009-07-23 20:30:42 +01:00
dm-exception-store.c dm exception store: free tmp_store on persistent flag error 2009-12-18 14:04:59 -08:00
dm-exception-store.h dm snapshot: simplify sector_to_chunk expression 2010-07-05 11:11:20 -07:00
dm-io.c dm io: retry after barrier error 2009-06-22 10:12:26 +01:00
dm-ioctl.c dm ioctl: release _hash_lock between devices in remove_all 2010-08-26 16:41:44 -07:00
dm-kcopyd.c dm kcopyd: fix callback race 2009-04-09 00:27:17 +01:00
dm-linear.c dm table: pass correct dev area size to device_area_is_valid 2009-07-23 20:30:42 +01:00
dm-log-userspace-base.c dm log: userspace fix incorrect luid cast in userspace_ctr 2009-10-16 23:18:15 +01:00
dm-log-userspace-transfer.c dm log: userspace fix overhead_size calcuations 2010-02-23 07:37:58 -08:00
dm-log-userspace-transfer.h dm log: userspace add luid to distinguish between concurrent log instances 2009-09-04 20:40:34 +01:00
dm-log.c dm log: fix create_log_context to use logical_block_size of log device 2009-06-22 10:12:33 +01:00
dm-mpath.c dm mpath: fix NULL pointer dereference when path parameters missing 2010-08-26 16:41:43 -07:00
dm-mpath.h
dm-path-selector.c
dm-path-selector.h dm mpath: add start_io and nr_bytes to path selectors 2009-06-22 10:12:27 +01:00
dm-queue-length.c dm mpath: add queue length load balancer 2009-06-22 10:12:27 +01:00
dm-raid1.c bio: first step in sanitizing the bio->bi_rw flag testing 2009-09-11 14:33:31 +02:00
dm-region-hash.c dm raid1: keep retrying alloc if mempool_alloc failed 2009-06-22 10:12:13 +01:00
dm-round-robin.c dm mpath: add start_io and nr_bytes to path selectors 2009-06-22 10:12:27 +01:00
dm-service-time.c dm mpath: add service time load balancer 2009-06-22 10:12:28 +01:00
dm-snap-persistent.c dm snapshot: use unsigned integer chunk size 2009-10-16 23:18:17 +01:00
dm-snap-transient.c
dm-snap.c dm snapshot: cope with chunk size larger than origin 2009-12-18 14:05:02 -08:00
dm-stripe.c dm stripe: avoid divide by zero with invalid stripe count 2010-02-23 07:37:58 -08:00
dm-sysfs.c dm: sysfs add suspended attribute 2009-06-22 10:12:29 +01:00
dm-table.c DM: Fix device mapper topology stacking 2010-01-25 10:49:41 -08:00
dm-target.c
dm-uevent.c dm: avoid _hash_lock deadlock 2009-12-18 14:05:02 -08:00
dm-uevent.h
dm-zero.c
dm.c dm mpath: fix stall when requeueing io 2010-04-26 07:41:29 -07:00
dm.h dm: remove queue next_ordered workaround for barriers 2009-07-23 20:30:40 +01:00
faulty.c md: Move check for bitmap presence to personality code. 2009-06-18 08:49:23 +10:00
Kconfig Merge branch 'dmaengine' into async-tx-next 2009-09-08 17:55:21 -07:00
linear.c md: deal with merge_bvec_fn in component devices better. 2010-04-26 07:41:35 -07:00
linear.h md/linear: use call_rcu to free obsolete 'conf' structures. 2009-06-18 08:49:42 +10:00
Makefile md: drivers/md/unroll.pl replaced with awk analog 2009-10-16 16:25:19 +11:00
md.c md: fix return value of rdev_size_change() 2010-12-09 13:26:46 -08:00
md.h md/bitmap: protect against bitmap removal while being updated. 2009-12-18 14:04:11 -08:00
mktables.c
multipath.c md: deal with merge_bvec_fn in component devices better. 2010-04-26 07:41:35 -07:00
multipath.h md: remove mddev_to_conf "helper" macro 2009-06-16 16:54:21 +10:00
raid0.c md: deal with merge_bvec_fn in component devices better. 2010-04-26 07:41:35 -07:00
raid0.h md: remove mddev_to_conf "helper" macro 2009-06-16 16:54:21 +10:00
raid1.c md/raid1: really fix recovery looping when single good device fails. 2010-12-09 13:26:46 -08:00
raid1.h md: remove mddev_to_conf "helper" macro 2009-06-16 16:54:21 +10:00
raid5.c md/raid6: Fix raid-6 read-error correction in degraded state 2010-05-12 14:57:15 -07:00
raid5.h md: fix problems with RAID6 calculations for DDF. 2009-10-16 16:27:34 +11:00
raid6algos.c
raid6altivec.uc md: drivers/md/unroll.pl replaced with awk analog 2009-10-16 16:25:19 +11:00
raid6int.uc md: drivers/md/unroll.pl replaced with awk analog 2009-10-16 16:25:19 +11:00
raid6mmx.c
raid6recov.c
raid6sse1.c
raid6sse2.c
raid6x86.h
raid10.c md/raid10: fix deadlock with unaligned read during resync 2010-08-13 13:19:36 -07:00
raid10.h md: remove mddev_to_conf "helper" macro 2009-06-16 16:54:21 +10:00
unroll.awk md: drivers/md/unroll.pl replaced with awk analog 2009-10-16 16:25:19 +11:00