mirror of
https://github.com/ceph/ceph
synced 2025-02-24 03:27:10 +00:00
rbd: fix read_iterate for sparse read
This commit is contained in:
parent
cc644b8422
commit
39e2c6e853
@ -1154,6 +1154,7 @@ int64_t read_iterate(ImageCtx *ictx, uint64_t off, size_t len,
|
||||
return r;
|
||||
bl_ofs += extent_len;
|
||||
buf_bl_pos += extent_len;
|
||||
block_ofs += extent_len;
|
||||
}
|
||||
|
||||
/* last hole */
|
||||
|
Loading…
Reference in New Issue
Block a user