]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Aug 2007 21:27:36 +0000 (14:27 -0700)
commit1eb34652551146be64def511d34a02178d9b00cd
tree9f832411841de0906c3f8853963a28e3f737e7fd
parent68a0460bbcc7571753b57b83f21e8c1c5029a46a
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/md/raid10.c