summaryrefslogtreecommitdiffstats
path: root/io_uring/advise.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2022-03-16 15:23:00 -0400
committerIlya Dryomov <idryomov@gmail.com>2023-08-22 09:01:47 +0200
commita679e50f728648f7b2f3b349e082448abd388038 (patch)
treefeb342e8c57d332a4d417d3c62d3c7e85308c12b /io_uring/advise.c
parent08b8a0440eeec83f8330349f829908858fd52d31 (diff)
downloadlinux-stable-a679e50f728648f7b2f3b349e082448abd388038.tar.gz
linux-stable-a679e50f728648f7b2f3b349e082448abd388038.tar.bz2
linux-stable-a679e50f728648f7b2f3b349e082448abd388038.zip
libceph: define struct ceph_sparse_extent and add some helpers
When the OSD sends back a sparse read reply, it contains an array of these structures. Define the structure and add a couple of helpers for dealing with them. Also add a place in struct ceph_osd_req_op to store the extent buffer, and code to free it if it's populated when the req is torn down. 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 'io_uring/advise.c')
0 files changed, 0 insertions, 0 deletions