]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] md: add support for reshape of a raid6
authorNeilBrown <neilb@suse.de>
Thu, 1 Mar 2007 04:11:53 +0000 (20:11 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 1 Mar 2007 22:53:36 +0000 (14:53 -0800)
commit2e9a152fc629b268dc2740280d7eddb1f1a709a3
tree77003957b071e5728fefedd905bf6f8c348fb4b3
parentc0c3c8daa03e4b4f98759878fe15bb017c82732e
[PATCH] md: add support for reshape of a raid6

i.e. one or more drives can be added and the array will re-stripe
while on-line.

Most of the interesting work was already done for raid5.  This just extends it
to raid6.

mdadm newer than 2.6 is needed for complete safety, however any version of
mdadm which support raid5 reshape will do a good enough job in almost all
cases (an 'echo repair > /sys/block/mdX/md/sync_action' is recommended after a
reshape that was aborted and had to be restarted with an such a version of
mdadm).

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>
drivers/md/raid5.c