[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6599.1690373630@warthog.procyon.org.uk>
Date: Wed, 26 Jul 2023 13:13:50 +0100
From: David Howells <dhowells@...hat.com>
To: Chuck Lever <cel@...nel.org>
Cc: dhowells@...hat.com, linux-nfs@...r.kernel.org,
netdev@...r.kernel.org, Chuck Lever <chuck.lever@...cle.com>
Subject: Re: [PATCH v3 2/5] SUNRPC: Send RPC message on TCP with a single sock_sendmsg() call
Chuck Lever <cel@...nel.org> wrote:
> From: Chuck Lever <chuck.lever@...cle.com>
>
> There is now enough infrastructure in place to combine the stream
> record marker into the biovec array used to send each outgoing RPC
> message on TCP. The whole message can be more efficiently sent with
> a single call to sock_sendmsg() using a bio_vec iterator.
>
> Note that this also helps with RPC-with-TLS: the TLS implementation
> can now clearly see where the upper layer message boundaries are.
> Before, it would send each component of the xdr_buf (record marker,
> head, page payload, tail) in separate TLS records.
>
> Suggested-by: David Howells <dhowells@...hat.com>
> Signed-off-by: Chuck Lever <chuck.lever@...cle.com>
Reviewed-by: David Howells <dhowells@...hat.com>
Powered by blists - more mailing lists