commit | 0cd17fec983b6bca505eecee1af33138687220b6 | [log] [tgz] |
---|---|---|
author | Chris Webb <chris@arachsys.com> | Sat Jun 28 08:31:46 2008 +1000 |
committer | Neil Brown <neilb@notabene.brown> | Sat Jun 28 08:31:46 2008 +1000 |
tree | 0b2209223c9aeeff0415e9a11c58f8801607006b | |
parent | 526647320e696f434647f38421a6ecf65b859c43 [diff] |
Support changing rdev size on running arrays. From: Chris Webb <chris@arachsys.com> Allow /sys/block/mdX/md/rdY/size to change on running arrays, moving the superblock if necessary for this metadata version. We prevent the available space from shrinking to less than the used size, and allow it to be set to zero to fill all the available space on the underlying device. Signed-off-by: Chris Webb <chris@arachsys.com> Signed-off-by: Neil Brown <neilb@suse.de>