Thread (6 messages) 6 messages, 5 authors, 2021-05-26

Re: [PATCH] nvmet: fix false keep-alive timeout when a controller is torn down

From: Hannes Reinecke <hare@suse.de>
Date: 2021-05-25 17:11:04

On 5/25/21 5:49 PM, Sagi Grimberg wrote:
Controller teardown flow may take some time in case it has many I/O
queues, and the host may not send us keep-alive during this period.
Hence reset the traffic based keep-alive timer so we don't trigger
a controller teardown as a result of a keep-alive expiration.

Reported-by: Yi Zhang <redacted>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
---
  drivers/nvme/target/core.c  | 16 ++++++++++++----
  drivers/nvme/target/nvmet.h |  2 +-
  2 files changed, 13 insertions(+), 5 deletions(-)
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