]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitecec7738d487489e284dfda399c2240a6d5bc98b
tree9a708f373c8d1d8c94c1494e25add4a08b6ce782
parentddfcc43c70d79f567d420283139a268140c26184
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