diff options
author | David Howells <dhowells@redhat.com> | 2023-06-23 23:55:09 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-06-24 15:50:13 -0700 |
commit | d2fe21077d6d4687ecab642ffe97c2e4acf3a547 (patch) | |
tree | 8569143b6cc5b19faec6b23d74c1c20777e4b989 /block/blk-pm.h | |
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 <dhowells@redhat.com>
cc: Mike Christie <michael.christie@oracle.com>
cc: Maurizio Lombardi <mlombard@redhat.com>
cc: "James E.J. Bottomley" <jejb@linux.ibm.com>
cc: "Martin K. Petersen" <martin.petersen@oracle.com>
cc: Jens Axboe <axboe@kernel.dk>
cc: Matthew Wilcox <willy@infradead.org>
cc: Al Viro <viro@zeniv.linux.org.uk>
cc: open-iscsi@googlegroups.com
Link: https://lore.kernel.org/r/20230623225513.2732256-13-dhowells@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'block/blk-pm.h')
0 files changed, 0 insertions, 0 deletions