diff options
author | David Howells <dhowells@redhat.com> | 2023-06-24 01:55:09 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-06-25 01:50:13 +0300 |
commit | d2fe21077d6d4687ecab642ffe97c2e4acf3a547 (patch) | |
tree | 8569143b6cc5b19faec6b23d74c1c20777e4b989 /net/mac80211/aead_api.h | |
parent | fa8df3435727a7b398760ef5e2ac95457a62ae1b (diff) | |
download | linux-d2fe21077d6d4687ecab642ffe97c2e4acf3a547.tar.xz |
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 'net/mac80211/aead_api.h')
0 files changed, 0 insertions, 0 deletions