diff options
author | Jeff Layton <jlayton@kernel.org> | 2022-03-24 13:33:06 -0400 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2023-08-22 09:01:47 +0200 |
commit | d396f89db39a2f259e2125ca43b4c31bb65afcad (patch) | |
tree | 0d08948fb59fc31c1514b25befb40df722dfbfb3 /block/blk-stat.c | |
parent | f36217e35ce13fe284fe9481711614200badebb0 (diff) |
libceph: add sparse read support to msgr1
Add 2 new fields to ceph_connection_v1_info to track the necessary info
in sparse reads. Skip initializing the cursor for a sparse read.
Break out read_partial_message_section into a wrapper around a new
read_partial_message_chunk function that doesn't zero out the crc first.
Add new helper functions to drive receiving into the destinations
provided by the sparse_read state machine.
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 'block/blk-stat.c')
0 files changed, 0 insertions, 0 deletions