diff options
author | 2023-01-02 12:36:14 +0100 | |
---|---|---|
committer | 2023-08-22 09:01:48 +0200 | |
commit | 4de77f25fd857a9dd0614416025af51b45c1cb2a (patch) | |
tree | cb485522419921a53d7963b11aa417a0d633a4a6 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | libceph: add new iov_iter-based ceph_msg_data_type and ceph_osd_data_type (diff) | |
download | wireguard-linux-4de77f25fd857a9dd0614416025af51b45c1cb2a.tar.xz wireguard-linux-4de77f25fd857a9dd0614416025af51b45c1cb2a.zip |
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 <jlayton@kernel.org>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-and-tested-by: Luís Henriques <lhenriques@suse.de>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions