]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd: missing journal state for flushing/restarting replay
authorJason Dillaman <dillaman@redhat.com>
Mon, 6 Jun 2016 18:54:23 +0000 (14:54 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 7 Jun 2016 11:30:48 +0000 (07:30 -0400)
Fixes: http://tracker.ceph.com/issues/16077
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/Journal.cc

index 855ea3d2882de365ac6a9703afdc1de03916e60c..abd1e1f331d32145ceed7fdb643ec27306c7c8ec 100644 (file)
@@ -606,6 +606,7 @@ bool Journal<I>::is_journal_replaying() const {
   Mutex::Locker locker(m_lock);
   return (m_state == STATE_REPLAYING ||
           m_state == STATE_FLUSHING_REPLAY ||
+          m_state == STATE_FLUSHING_RESTART ||
           m_state == STATE_RESTARTING_REPLAY);
 }