https://github.com/torvalds/linux
Revision 436d41087d047b61f8ab0604dc74fff3240a8933 authored by Alasdair G Kergon on 12 July 2005, 22:53:03 UTC, committed by Linus Torvalds on 12 July 2005, 23:19:10 UTC
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 <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent a044d01
History
Tip revision: 436d41087d047b61f8ab0604dc74fff3240a8933 authored by Alasdair G Kergon on 12 July 2005, 22:53:03 UTC
[PATCH] device-mapper multipath: Avoid possible suspension deadlock
Tip revision: 436d410

README

back to top