]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: test_flags helper should require snap id parameter
authorJason Dillaman <dillaman@redhat.com>
Fri, 14 Sep 2018 13:59:35 +0000 (09:59 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 3 Oct 2018 19:01:25 +0000 (15:01 -0400)
commit645e18de350ea739418c7623bbce8669c91da70a
tree2d141306988a6d38bc2dd2cdbd0b469cc6eea921
parent6c7e8ccf4e6abac4983e0f0a4b4d7f6a2acd9082
librbd: test_flags helper should require snap id parameter

The HEAD and snapshots have potentially different flag states
since object maps get invalidated per revision.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 862082792d9c2ff23823e46937b7de9a42830cfd)

Conflicts:
src/librbd/ObjectMap.cc: trivial resolution
src/test/librbd/test_Migration.cc: DNE
src/librbd/ImageCtx.cc
src/librbd/ImageCtx.h
src/librbd/ObjectMap.cc
src/librbd/object_map/Request.cc
src/librbd/operation/SnapshotRemoveRequest.cc
src/test/librbd/object_map/test_mock_InvalidateRequest.cc
src/test/librbd/object_map/test_mock_SnapshotRollbackRequest.cc
src/test/librbd/test_DeepCopy.cc
src/test/librbd/test_ObjectMap.cc
src/test/rbd_mirror/test_ImageSync.cc