diff options
| author | David Howells <[email protected]> | 2023-06-23 22:55:01 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-06-24 22:50:12 +0000 |
| commit | fa094ccae1e7904d9fa7bb1bc44c9873eec7baf4 (patch) | |
| tree | 466e18dfbb3fe7731a88e08426425773f9f1c0d4 /net/unix/af_unix.c | |
| parent | ceph: Use sendmsg(MSG_SPLICE_PAGES) rather than sendpage (diff) | |
| download | kernel-fa094ccae1e7904d9fa7bb1bc44c9873eec7baf4.tar.gz kernel-fa094ccae1e7904d9fa7bb1bc44c9873eec7baf4.zip | |
ceph: Use sendmsg(MSG_SPLICE_PAGES) rather than sendpage()
Use sendmsg() and MSG_SPLICE_PAGES rather than sendpage in ceph when
transmitting data. For the moment, this can only transmit one page at a
time because of the architecture of net/ceph/, but if
write_partial_message_data() can be given a bvec[] at a time by the
iteration code, this would allow pages to be sent in a batch.
Signed-off-by: David Howells <[email protected]>
cc: Ilya Dryomov <[email protected]>
cc: Xiubo Li <[email protected]>
cc: Jeff Layton <[email protected]>
cc: Jens Axboe <[email protected]>
cc: Matthew Wilcox <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
