From: NeilBrown Date: Wed, 6 Feb 2008 09:39:51 +0000 (-0800) Subject: md: give userspace control over removing failed devices when external metdata in use X-Git-Tag: v2.6.25-rc1~553 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c303da6d713b87b7b3f999f5acce8ecc76ff1adb;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed