md: allow reshape_position for md arrays to be set via sysfs
authorNeilBrown <neilb@suse.de>
Wed, 9 May 2007 09:35:38 +0000 (02:35 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 May 2007 19:30:57 +0000 (12:30 -0700)
commit08a02ecd28bad35a47357e611044dcbeab06e3d7
tree31050d686e58d55411f95c89204321aa2ea2b63a
parent42b9bebe3fea3d3ce381bc6735a3fb50e6613f06
md: allow reshape_position for md arrays to be set via sysfs

"reshape_position" records how much progress has been made on a "reshape"
(adding drives, changing layout or chunksize).

When it is set, the number of drives, layout and chunksize can have
two possible values, an old an a new.

So allow these different values to be visible, and allow both old and new to
be set: Set the old ones first, then the reshape_position, then the new
values.

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