Skip to content
Commit 0cd17fec authored by Chris Webb's avatar Chris Webb Committed by Neil Brown
Browse files

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: default avatarChris Webb <chris@arachsys.com>
Signed-off-by: default avatarNeil Brown <neilb@suse.de>
parent 52664732
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment