summaryrefslogtreecommitdiff
path: root/drivers/md/raid10.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-05-21 09:28:33 +1000
committerNeilBrown <neilb@suse.de>2012-05-21 09:28:33 +1000
commitc804cdecea418c067ee7359d62139b2b3c8cec39 (patch)
tree8542c9757416deee1637528b6616cbcc92cf8cdc /drivers/md/raid10.h
parent1fdd6fc92f330b81604c9a4f892f713775a9751a (diff)
md: use resync_max_sectors for reshape as well as resync.
Some resync type operations need to act on the address space of the device, others on the address space of the array. This only affects RAID10, so it sets resync_max_sectors to the array size (it defaults to the device size), and that is currently used for resync only. However reshape of a RAID10 must be done against the array size, not device size, so change code to use resync_max_sectors for both the resync and the reshape cases. This does not affect RAID5 or RAID1, just RAID10. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid10.h')
0 files changed, 0 insertions, 0 deletions