diff options
author | NeilBrown <neilb@suse.de> | 2008-02-06 04:39:51 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 13:41:18 -0500 |
commit | c303da6d713b87b7b3f999f5acce8ecc76ff1adb (patch) | |
tree | 5bd9852beea7b4d8a4cffe07657ca2ca3d71a3fc /drivers/md/dm-raid1.c | |
parent | e691063a61f7f72a7d2882eb744b07a520cde23b (diff) |
md: give userspace control over removing failed devices when external metdata in use
When a device fails, we must not allow an further writes to the array until
the device failure has been recorded in array metadata. When metadata is
managed externally, this requires some synchronisation...
Allow/require userspace to explicitly remove failed devices from active
service in the array by writing 'none' to the 'slot' attribute. If this
reduces the number of failed devices to 0, the write block will automatically
be lowered.
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>
Diffstat (limited to 'drivers/md/dm-raid1.c')
0 files changed, 0 insertions, 0 deletions