From: Alasdair G Kergon Date: Tue, 12 Jul 2005 22:53:03 +0000 (-0700) Subject: [PATCH] device-mapper multipath: Avoid possible suspension deadlock X-Git-Tag: v2.6.13-rc3~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=436d41087d047b61f8ab0604dc74fff3240a8933;p=pandora-kernel.git [PATCH] device-mapper multipath: Avoid possible suspension deadlock To avoid deadlock when suspending a multipath device after all its paths have failed, stop queueing any I/O that is about to fail *before* calling freeze_bdev instead of after. Instead of setting a multipath 'suspended' flag which would have to be reset if an error occurs during the process, save the previous queueing state and leave userspace to restore if it wishes. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed