Thread (5 messages) 5 messages, 3 authors, 2021-09-15

Re: [RFC v1] nvme-tcp: enable linger socket option on shutdown

From: Christoph Hellwig <hch@infradead.org>
Date: 2021-09-06 07:59:15
Also in: lkml

On Fri, Sep 03, 2021 at 02:17:57PM +0200, Daniel Wagner wrote:
When the no linger is set, the networking stack sends FIN followed by
RST immediately when shutting down the socket. By enabling linger when
shutting down we have a proper shutdown sequence on the wire.

Signed-off-by: Daniel Wagner <redacted>
---
The current shutdown sequence on the wire is a bit harsh and
doesn't let the remote host to react. I suppose we should
introduce a short (how long?) linger pause when shutting down
the connection. Thoughs?
Why?  I'm not really a TCP expert, but why is this different from
say iSCSI or NBD?

_______________________________________________
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