summaryrefslogtreecommitdiffstats
path: root/drivers/connector
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-03-31 06:10:36 +0200
committerNeilBrown <neilb@suse.de>2009-03-31 06:10:36 +0200
commit7ec0547838976d088dfb9cb0adb073e6e8a15aa3 (patch)
tree32f2d5aa5d112e99bebbfb9bfde49ba82b66809d /drivers/connector
parentmd/raid5: drop qd_idx from r6_state (diff)
downloadlinux-7ec0547838976d088dfb9cb0adb073e6e8a15aa3.tar.xz
linux-7ec0547838976d088dfb9cb0adb073e6e8a15aa3.zip
md/raid5: enhance raid5_size to work correctly with negative delta_disks
This is the first of four patches which combine to allow md/raid5 to reduce the number of devices in the array by restriping the data over a subset of the devices. If the number of disks in a raid4/5/6 is being reduced, then the default size must be based on the new number, not the old number of devices. In general, it should be based on the smaller of new and old. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/connector')
0 files changed, 0 insertions, 0 deletions