]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: restore journal access when force disabling mirroring
authorJason Dillaman <dillaman@redhat.com>
Wed, 19 Oct 2016 14:55:05 +0000 (10:55 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 31 Oct 2016 14:57:14 +0000 (10:57 -0400)
commit86a0c1e5e3bca7869a7a41b3f031fbed7a866903
tree73dfcaf4daf2c720d91a8f6c1a8cbb568cb57b9a
parent3bc9f51c588b10248f2ef0f0588bca8bc371007b
librbd: restore journal access when force disabling mirroring

If mirroring is force disabled on a demoted image, the journal was
being left in an inconsistent ownership state.

Fixes: http://tracker.ceph.com/issues/17588
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/mirror/DisableRequest.cc
src/librbd/mirror/DisableRequest.h