Skip to content
Commit 77698878 authored by David Howells's avatar David Howells Committed by Jakub Kicinski
Browse files

nvme-tcp: Use sendmsg(MSG_SPLICE_PAGES) rather then sendpage



When transmitting data, call down into TCP using a sendmsg with
MSG_SPLICE_PAGES instead of sendpage.

Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Tested-by: default avatarSagi Grimberg <sagi@grimberg.me>
Acked-by: default avatarWillem 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-8-dhowells@redhat.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent a1a5e875
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment