aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJames Smart <[email protected]>2018-01-11 23:21:38 +0000
committerChristoph Hellwig <[email protected]>2018-01-17 16:55:02 +0000
commit0fd997d3f77296522e836f7002e8a0636c9886aa (patch)
tree3b7880700121db30b5f889afc75795560cb2f74f /net/unix/af_unix.c
parentnvme-fc: fix rogue admin cmds stalling teardown (diff)
downloadkernel-0fd997d3f77296522e836f7002e8a0636c9886aa.tar.gz
kernel-0fd997d3f77296522e836f7002e8a0636c9886aa.zip
nvme-fc: correct hang in nvme_ns_remove()
When connectivity is lost to a device, the association is terminated and the blk-mq queues are quiesced/stopped. When connectivity is re-established, they are resumed. If connectivity is lost for a sufficient amount of time that the controller is then deleted, the delete path starts tearing down queues, and eventually calling nvme_ns_remove(). It appears that pending commands may cause blk_cleanup_queue() to never complete and the teardown stalls. Correct by starting the ns queues after transitioning to a DELETING state, allowing pending commands to be flushed with io failures. Thus the delete path is clear when reached. Signed-off-by: James Smart <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions