]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: restore journal access when force disabling mirroring 11916/head
authorMykola Golub <mgolub@mirantis.com>
Thu, 10 Nov 2016 13:35:59 +0000 (15:35 +0200)
committerMykola Golub <mgolub@mirantis.com>
Fri, 11 Nov 2016 20:04:10 +0000 (22:04 +0200)
commit6b8361f23124d41873f24b61e25a1f1d23c9ee1b
treecae4794294977d6acd0d753a7abf56a342ab2fef
parent427f357f0eed32c9ce17590ae9303a94e8b710e7
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.

This is a direct commit to jewel as the fix in the master was
against the newly added async version of mirror disable, which is
not going to be merged to jewel.

Fixes: http://tracker.ceph.com/issues/17767
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
src/librbd/internal.cc