aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorAlasdair G Kergon <[email protected]>2005-07-12 15:53:03 -0700
committerLinus Torvalds <[email protected]>2005-07-12 16:19:10 -0700
commit436d41087d047b61f8ab0604dc74fff3240a8933 (patch)
tree46bab3a0cf02a7514b4faa5470a76326e6f8bc72 /net/lapb/lapb_timer.c
parenta044d016896d2717694003f00d31a98194077511 (diff)
[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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions