summaryrefslogtreecommitdiff
path: root/fs/ceph/acl.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2023-01-02 14:36:14 +0300
committerIlya Dryomov <idryomov@gmail.com>2023-08-22 10:01:48 +0300
commit4de77f25fd857a9dd0614416025af51b45c1cb2a (patch)
treecb485522419921a53d7963b11aa417a0d633a4a6 /fs/ceph/acl.c
parentdee0c5f834605ce9b384ee8b9c7032ffd8db4eca (diff)
downloadlinux-4de77f25fd857a9dd0614416025af51b45c1cb2a.tar.xz
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 'fs/ceph/acl.c')
0 files changed, 0 insertions, 0 deletions