]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: restore diff-iterate include_parent functionality in fast-diff mode
authorIlya Dryomov <idryomov@gmail.com>
Wed, 5 Jan 2022 19:24:40 +0000 (20:24 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 10 Jan 2022 18:28:55 +0000 (19:28 +0100)
commit04293bef6ccd2b9ca3db53906b63c952e235cdb4
tree32dae70c7af58cbe6944d83638ac149d538f7fae
parent92ca5ec36496dd02f618dc161e52b24711baa47b
librbd: restore diff-iterate include_parent functionality in fast-diff mode

Commit 4429ed4f3f4c ("librbd: switch diff iterate API to use new snaps
list dispatch methods") removed the recursive execute() call.  The new
list_snaps method does indeed handle parent diffs internally but it is
not used in fast-diff mode.  Nothing changed there -- we still need to
load the parent object map, calculate parent object_diff_state, etc.

Fixes: https://tracker.ceph.com/issues/53787
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
src/librbd/api/DiffIterate.cc
src/test/librbd/test_librbd.cc