]> 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>
Fri, 14 Sep 2018 15:09:23 +0000 (11:09 -0400)
commit862082792d9c2ff23823e46937b7de9a42830cfd
tree1ed032170d69252c3b9c065247aa0d78cf9a822c
parentb035df69f706189134fb29c666b6d447c8037426
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>
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_Migration.cc
src/test/librbd/test_ObjectMap.cc
src/test/rbd_mirror/test_ImageSync.cc