aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/raid/md_k.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2008-02-06 01:39:51 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-06 10:41:18 -0800
commitc303da6d713b87b7b3f999f5acce8ecc76ff1adb (patch)
tree5bd9852beea7b4d8a4cffe07657ca2ca3d71a3fc /include/linux/raid/md_k.h
parentmd: support 'external' metadata for md arrays (diff)
downloadlinux-dev-c303da6d713b87b7b3f999f5acce8ecc76ff1adb.tar.xz
linux-dev-c303da6d713b87b7b3f999f5acce8ecc76ff1adb.zip
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 'include/linux/raid/md_k.h')
0 files changed, 0 insertions, 0 deletions