]> Git Repo - linux.git/commit
sunrpc: Use sendmsg(MSG_SPLICE_PAGES) rather then sendpage
authorDavid Howells <[email protected]>
Fri, 9 Jun 2023 10:02:18 +0000 (11:02 +0100)
committerJakub Kicinski <[email protected]>
Tue, 13 Jun 2023 04:13:23 +0000 (21:13 -0700)
commit5df5dd03a8f71ca9640f208d8f523856e1069ee7
tree3de9e5d444a1ace19340a8a9c02106c65be43453
parent345ee3e8126aa042e8b4c61ed9eca42e9334b09e
sunrpc: Use sendmsg(MSG_SPLICE_PAGES) rather then sendpage

When transmitting data, call down into TCP using sendmsg with
MSG_SPLICE_PAGES to indicate that content should be spliced rather than
performing sendpage calls to transmit header, data pages and trailer.

Signed-off-by: David Howells <[email protected]>
Acked-by: Chuck Lever <[email protected]>
cc: Trond Myklebust <[email protected]>
cc: Anna Schumaker <[email protected]>
cc: Jeff Layton <[email protected]>
cc: Jens Axboe <[email protected]>
cc: Matthew Wilcox <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
include/linux/sunrpc/svc.h
net/sunrpc/svcsock.c
This page took 0.05832 seconds and 4 git commands to generate.