diff options
author | David Howells <[email protected]> | 2023-06-23 23:55:09 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-06-24 15:50:13 -0700 |
commit | d2fe21077d6d4687ecab642ffe97c2e4acf3a547 (patch) | |
tree | 8569143b6cc5b19faec6b23d74c1c20777e4b989 /tools/perf/scripts/python | |
parent | fa8df3435727a7b398760ef5e2ac95457a62ae1b (diff) |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions