]> git-server-git.apps.pok.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 21:39:35 +0000 (17:39 -0400)
commitb7bb92d729505555201925f0d30280c6b1fdfc45
treeb2a06b8ca4652ba084a334980ca50d6eee72daa2
parent2c73ec0b8069556a3aa7d26e2fa78fc3982d7778
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/librbd/operation/SnapshotRemoveRequest.cc: trivial resolution
src/test/librbd/test_DeepCopy.cc: DNE
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/test/librbd/object_map/test_mock_InvalidateRequest.cc
src/test/librbd/object_map/test_mock_SnapshotRollbackRequest.cc
src/test/librbd/test_ObjectMap.cc
src/test/rbd_mirror/test_ImageSync.cc