[PATCHv3] nvme-tcp: strict pdu pacing to avoid send stalls on TLS
Keith Busch
kbusch at kernel.org
Mon Apr 29 07:09:49 PDT 2024
On Thu, Apr 18, 2024 at 12:39:45PM +0200, Hannes Reinecke wrote:
> TLS requires a strict pdu pacing via MSG_EOR to signal the end
> of a record and subsequent encryption. If we do not set MSG_EOR
> at the end of a sequence the record won't be closed, encryption
> doesn't start, and we end up with a send stall as the message
> will never be passed on to the TCP layer.
> So do not check for the queue status when TLS is enabled but
> rather make the MSG_MORE setting dependent on the current
> request only.
Thanks, applied to nvme-6.9.
More information about the Linux-nvme
mailing list