]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test/librbd: make diff-iterate clone tests exercise fast-diff mode 44673/head
authorIlya Dryomov <idryomov@gmail.com>
Fri, 7 Jan 2022 12:31:08 +0000 (13:31 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 19 Jan 2022 21:15:04 +0000 (22:15 +0100)
commit9c8f501d2fbf3a3d5b8d6edc96388a9cc8093f03
tree342ab497052b4814e564c442aee9183f40c89246
parent0f293714f39d1b38d0bf933984d6945139ff9c26
test/librbd: make diff-iterate clone tests exercise fast-diff mode

The fast-diff feature wasn't propagated to the clone so these tests
were exercising the slow list_snaps path no matter what RBD_FEATURES
value was supplied to ceph_test_librbd.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit ceb13d76f2b3aba7209e85f3354970c072997742)

Conflicts:
src/test/librbd/test_librbd.cc [ commit d1c82d55827e ("librbd:
  enable image cache after getting exclusive lock") not in
  octopus ]
src/test/librbd/test_librbd.cc