[PATCH] nvme-tcp: add basic support for the C2HTermReq PDU
Maurizio Lombardi
mlombard at bsdbackstore.eu
Mon Feb 24 08:48:38 PST 2025
On Mon Feb 24, 2025 at 5:04 PM CET, Hannes Reinecke wrote:
> I really wouldn't be doing that, as we need to terminate the queue upon
> fatal error and don't really want to delay that (eg by waiting for the
> transfer to finish) and
I did some tests and it seems to work with MSG_DONTWAIT as well.
I am just wondering if calling kernel_sock_shutdown() could
in some cases race with MSG_DONTWAIT, preventing the packet from
being effectively sent.
Not a big problem anyway because, as you said, it's a kind
of best-effort thing.
Maurizio
More information about the Linux-nvme
mailing list