diff options
author | James Smart <jsmart2021@gmail.com> | 2021-09-14 11:20:07 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-09-21 09:17:12 +0200 |
commit | e5445dae29d25d7b03e0a10d3d4277a1d0c8119b (patch) | |
tree | e3b5dc43a131ab9958712c89fb15f3eb0546efed /sound/soc/xtensa | |
parent | 555f66d0f8a38537456acc77043d0e4469fcbe8e (diff) | |
download | linux-e5445dae29d25d7b03e0a10d3d4277a1d0c8119b.tar.bz2 |
nvme-fc: avoid race between time out and tear down
To avoid race between time out and tear down, in tear down process,
first we quiesce the queue, and then delete the timer and cancel
the time out work for the queue.
This patch merges the admin and io sync ops into the queue teardown logic
as shown in the RDMA patch 3017013dcc "nvme-rdma: avoid race between time
out and tear down". There is no teardown_lock in nvme-fc.
Signed-off-by: James Smart <jsmart2021@gmail.com>
Tested-by: Daniel Wagner <dwagner@suse.de>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'sound/soc/xtensa')
0 files changed, 0 insertions, 0 deletions