diff options
author | NeilBrown <neilb@suse.de> | 2013-05-27 15:09:38 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-05-28 16:58:18 +1000 |
commit | f9b08fecd8fc05fb05471925bbec89fbd1a56e01 (patch) | |
tree | 92fa56717ed06c001ec7e0452c2f28d66628eb64 /super1.c | |
parent | 199f1a1fadcd0fb5efba656ad92a44c51f8cc8ea (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