[PATCH] md: Allow rdev state to be set via sysfs
authorNeilBrown <neilb@suse.de>
Mon, 26 Jun 2006 07:27:58 +0000 (00:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 16:58:39 +0000 (09:58 -0700)
commit45dc2de1e53a29f898b81326b8a16e6192d52e4e
treea1076950eef59cbe525435522d83757390f23c42
parent9e653b6342c94016f5cc9937061ef99e9c4b4045
[PATCH] md: Allow rdev state to be set via sysfs

The md/dev-XXX/state file can now be written:

 "faulty" simulates an error on the device
 "remove" removes the device from the array (if it is not busy)

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Documentation/md.txt
drivers/md/md.c