]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: don't create journal tag with non-primary mirror uuid
authorJason Dillaman <dillaman@redhat.com>
Thu, 27 Feb 2020 01:11:28 +0000 (20:11 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 27 Feb 2020 21:33:21 +0000 (16:33 -0500)
commit91fe3c134438abc82d8b7b4651ef423fe75aba07
tree841bef0841296a19ac8bd89c8c0795a1f3e263ec
parent1e7e13036bf2ea3e1366f922378428e87006de78
librbd: don't create journal tag with non-primary mirror uuid

If snapshot-based mirror is enabled we don't use the journal to keep state.
Also clean-up the use of the API-level variables and use the RBD-internal
types.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/image/CreateRequest.cc
src/librbd/image/CreateRequest.h