diff options
author | Xiubo Li <[email protected]> | 2022-08-25 09:31:12 -0400 |
---|---|---|
committer | Ilya Dryomov <[email protected]> | 2023-08-24 11:24:35 +0200 |
commit | d4d518871574ebbd53f054c16c085caa0a77b83d (patch) | |
tree | 20f9064939079eae4f26e0fad97fa924ee341472 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 4e8c4c235578b4d44bd6676df3a01dce98d0f7dd (diff) |
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 <[email protected]>
Reviewed-by: Jeff Layton <[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 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions