diff options
author | David Howells <dhowells@redhat.com> | 2023-06-23 23:55:05 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-06-24 15:50:12 -0700 |
commit | c336a79983c7e67a0a163ab4feafa3c273d915be (patch) | |
tree | 2643a41a6a7c7c6ce031c13d5679e734be02bfdd /net/smc | |
parent | 7769887817c3dc49b55957badcbd515cf925728b (diff) | |
download | lwn-c336a79983c7e67a0a163ab4feafa3c273d915be.tar.gz lwn-c336a79983c7e67a0a163ab4feafa3c273d915be.zip |
nvmet-tcp: Use sendmsg(MSG_SPLICE_PAGES) rather then sendpage
When transmitting data, call down into TCP using a single sendmsg with
MSG_SPLICE_PAGES to indicate that content should be spliced rather than
copied instead of calling sendpage.
Signed-off-by: David Howells <dhowells@redhat.com>
Tested-by: Sagi Grimberg <sagi@grimberg.me>
Acked-by: Willem de Bruijn <willemb@google.com>
cc: Keith Busch <kbusch@kernel.org>
cc: Jens Axboe <axboe@fb.com>
cc: Christoph Hellwig <hch@lst.de>
cc: Chaitanya Kulkarni <kch@nvidia.com>
cc: Jens Axboe <axboe@kernel.dk>
cc: Matthew Wilcox <willy@infradead.org>
cc: linux-nvme@lists.infradead.org
Link: https://lore.kernel.org/r/20230623225513.2732256-9-dhowells@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/smc')
0 files changed, 0 insertions, 0 deletions