commit | a88aa7865bc1d1d451af2d585ac0119164ce8e00 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Wed Aug 22 14:01:53 2007 -0700 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Wed Aug 22 19:52:46 2007 -0700 |
tree | 2ecde2e24540c611f8930bbee94e1e428038f3a1 | |
parent | 918f02383fb9ff5dba29709f3199189eeac55021 [diff] |
md: correctly update sysfs when a raid1 is reshaped When a raid1 array is reshaped (number of drives changed), the list of devices is compacted, so that slots for missing devices are filled with working devices from later slots. This requires the "rd%d" symlinks in sysfs to be updated. Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>