diff options
author | Xiubo Li <xiubli@redhat.com> | 2022-08-25 15:31:12 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2023-08-24 11:24:35 +0200 |
commit | d4d518871574ebbd53f054c16c085caa0a77b83d (patch) | |
tree | 20f9064939079eae4f26e0fad97fa924ee341472 /.mailmap | |
parent | libceph: allow ceph_osdc_new_request to accept a multi-op read (diff) | |
download | linux-d4d518871574ebbd53f054c16c085caa0a77b83d.tar.xz linux-d4d518871574ebbd53f054c16c085caa0a77b83d.zip |
ceph: add object version support for sync read
Turn the guts of ceph_sync_read into a new helper that takes an inode
and an offset instead of a kiocb struct, and make ceph_sync_read call
the helper as a wrapper.
Make the new helper always return the last object's version.
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
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 '.mailmap')
0 files changed, 0 insertions, 0 deletions