]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: dynamically disabling journaling needs to block writes
authorJason Dillaman <dillaman@redhat.com>
Fri, 8 Apr 2016 19:50:52 +0000 (15:50 -0400)
committerJason Dillaman <dillaman@redhat.com>
Sat, 9 Apr 2016 16:59:01 +0000 (12:59 -0400)
commit458bef840116b26e7d5ab3d1d7e0651660488559
treeffb33d8a16865c60c814871a875956524468a319
parentaa31e52572d83b64b144c1b7d5e9fd9a9164ba05
librbd: dynamically disabling journaling needs to block writes

Need to clear any in-flight IO before the journal is closed to
avoid IO completions getting stuck in odd state.

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