aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/socket.c
diff options
context:
space:
mode:
authorDavid Howells <[email protected]>2023-06-23 22:55:09 +0000
committerJakub Kicinski <[email protected]>2023-06-24 22:50:13 +0000
commitd2fe21077d6d4687ecab642ffe97c2e4acf3a547 (patch)
tree8569143b6cc5b19faec6b23d74c1c20777e4b989 /net/tipc/socket.c
parentscsi: iscsi_tcp: Use sendmsg(MSG_SPLICE_PAGES) rather than sendpage (diff)
downloadkernel-d2fe21077d6d4687ecab642ffe97c2e4acf3a547.tar.gz
kernel-d2fe21077d6d4687ecab642ffe97c2e4acf3a547.zip
scsi: target: iscsi: Use sendmsg(MSG_SPLICE_PAGES) rather than sendpage
Use sendmsg() with MSG_SPLICE_PAGES rather than sendpage. This allows multiple pages and multipage folios to be passed through. TODO: iscsit_fe_sendpage_sg() should perhaps set up a bio_vec array for the entire set of pages it's going to transfer plus two for the header and trailer and page fragments to hold the header and trailer - and then call sendmsg once for the entire message. Signed-off-by: David Howells <[email protected]> cc: Mike Christie <[email protected]> cc: Maurizio Lombardi <[email protected]> cc: "James E.J. Bottomley" <[email protected]> cc: "Martin K. Petersen" <[email protected]> cc: Jens Axboe <[email protected]> cc: Matthew Wilcox <[email protected]> cc: Al Viro <[email protected]> cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions