md: handle writes to broken raid10 arrays gracefully
authorArne Redlich <agr@powerkom-dd.de>
Tue, 31 Jul 2007 07:37:57 +0000 (00:37 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 31 Jul 2007 22:39:38 +0000 (15:39 -0700)
commitf6f953aa99d456aff44ffdb1c77061d1a010eae2
tree9a708f373c8d1d8c94c1494e25add4a08b6ce782
parent14e713446aaca97dbe590fe845f7dcbd74ddbee2
md: handle writes to broken raid10 arrays gracefully

When writing to a broken array, raid10 currently happily emits empty bio
lists.  IOW, the master bio will never be completed, sending writers to
UNINTERRUPTIBLE_SLEEP forever.

Signed-off-by: Arne Redlich <agr@powerkom-dd.de>
Acked-by: Neil Brown <neilb@suse.de>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/md/raid10.c