summaryrefslogtreecommitdiff
path: root/super1.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2013-05-27 15:09:38 +1000
committerNeilBrown <neilb@suse.de>2013-05-28 16:58:18 +1000
commitf9b08fecd8fc05fb05471925bbec89fbd1a56e01 (patch)
tree92fa56717ed06c001ec7e0452c2f28d66628eb64 /super1.c
parent199f1a1fadcd0fb5efba656ad92a44c51f8cc8ea (diff)
Grow: allow for different sized devices when updating data_offset.
It is possible that the devices in an array have different sizes, and different data_offsets. So the 'before_space' and 'after_space' may be different from drive to drive. Any decisions about how much to change the data_offset must work on all devices, so must be based on the minimum available space on any devices. So find this minimum first, then do the calculation. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'super1.c')
0 files changed, 0 insertions, 0 deletions