diff options
author | Jeff Layton <[email protected]> | 2023-01-02 12:36:14 +0100 |
---|---|---|
committer | Ilya Dryomov <[email protected]> | 2023-08-22 09:01:48 +0200 |
commit | 4de77f25fd857a9dd0614416025af51b45c1cb2a (patch) | |
tree | cb485522419921a53d7963b11aa417a0d633a4a6 /net/lapb/lapb_in.c | |
parent | dee0c5f834605ce9b384ee8b9c7032ffd8db4eca (diff) |
ceph: use osd_req_op_extent_osd_iter for netfs reads
The netfs layer has already pinned the pages involved before calling
issue_op, so we can just pass down the iter directly instead of calling
iov_iter_get_pages_alloc.
Instead of having to allocate a page array, use CEPH_MSG_DATA_ITER and
pass it the iov_iter directly to clone.
Signed-off-by: Jeff Layton <[email protected]>
Reviewed-by: Xiubo Li <[email protected]>
Reviewed-and-tested-by: Luís Henriques <[email protected]>
Reviewed-by: Milind Changire <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions