Thread (15 messages) 15 messages, 2 authors, 2021-07-30

Re: [PATCH v3 5/6] nvme-fc: avoid race between time out and tear down

From: Hannes Reinecke <hare@suse.de>
Date: 2021-07-20 17:58:31
Also in: lkml

On 7/20/21 2:43 PM, Daniel Wagner wrote:
From: James Smart <redacted>

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 <redacted>
CC: Chao Leng <redacted>
Tested-by: Daniel Wagner <redacted>
[dwagner: updated commit id referenced in commit message]
Reviewed-by: Daniel Wagner <redacted>
---
  drivers/nvme/host/fc.c | 2 ++
  1 file changed, 2 insertions(+)
Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                Kernel Storage Architect
hare@suse.de                              +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer

_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help