From: NeilBrown Date: Tue, 4 Mar 2008 22:29:35 +0000 (-0800) Subject: md: fix possible raid1/raid10 deadlock on read error during resync X-Git-Tag: v2.6.25-rc4~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c830532f6b44d10a1743ccd00e990c6b83396f5;p=pandora-kernel.git md: fix possible raid1/raid10 deadlock on read error during resync Thanks to K.Tanaka and the scsi fault injection framework, here is a fix for another possible deadlock in raid1/raid10 error handing. If a read request returns an error while a resync is happening and a resync request is pending, the attempt to fix the error will block until the resync progresses, and the resync will block until the read request completes. Thus a deadlock. This patch fixes the problem. Cc: "K.Tanaka" Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed