diff options
author | David Howells <dhowells@redhat.com> | 2023-06-24 01:55:02 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-06-25 01:50:12 +0300 |
commit | 572efade27c55f11436ed10bbb59ef10c6d83d93 (patch) | |
tree | 3eef4b6bb3084f6bb92ee2e83ff54291bc76c7eb /fs/dlm | |
parent | fa094ccae1e7904d9fa7bb1bc44c9873eec7baf4 (diff) | |
download | linux-572efade27c55f11436ed10bbb59ef10c6d83d93.tar.xz |
rds: Use sendmsg(MSG_SPLICE_PAGES) rather than sendpage
When transmitting data, call down into TCP using a single sendmsg with
MSG_SPLICE_PAGES to indicate that content should be spliced.
To make this work, the data is assembled in a bio_vec array and attached to
a BVEC-type iterator.
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Santosh Shilimkar <santosh.shilimkar@oracle.com>
cc: Jens Axboe <axboe@kernel.dk>
cc: Matthew Wilcox <willy@infradead.org>
cc: rds-devel@oss.oracle.com
Link: https://lore.kernel.org/r/20230623225513.2732256-6-dhowells@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'fs/dlm')
0 files changed, 0 insertions, 0 deletions