]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: diff-iterate reports incorrect offsets if whole_object=true 44548/head
authorIlya Dryomov <idryomov@gmail.com>
Wed, 19 Jan 2022 20:08:01 +0000 (21:08 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 19 Jan 2022 20:51:43 +0000 (21:51 +0100)
commit65fdca18c221fc1a3f1851b060c51a76a0991b2e
tree82637eb90c5027406411e66e199cd596eb3c5e72
parentb508f64aa492c26c63323d30a7002b48187db19b
librbd: diff-iterate reports incorrect offsets if whole_object=true

It turns out that in octopus both fast-diff and list-snaps (slow)
modes were broken.  As long as whole_object=true, the same incorrect
offset was reported in both modes.  The fast-diff mode is fixed in
in previous commit.

This is an octopus-only patch for list-snaps mode.  In pacific this
issue was addressed with 4429ed4f3f4c ("librbd: switch diff iterate
API to use new snaps list dispatch methods").

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
src/librbd/api/DiffIterate.cc