]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: add missing shutdown states to managed lock helper
authorJason Dillaman <dillaman@redhat.com>
Tue, 19 Feb 2019 21:06:48 +0000 (16:06 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 16 May 2019 13:28:19 +0000 (09:28 -0400)
commitb7151a5152680e26f79d68ce6ee3831a21542d53
tree30000ae1a76bbb11a80afefdb691ed2f07094e9a
parentdd7575aaad1d3a278954156148c9776a0dd8b83c
librbd: add missing shutdown states to managed lock helper

The PRE_SHUTTING_DOWN and SHUTTING_DOWN states were missed
in the 'is_state_shutdown' helper method. This resulted in
rbd-mirror potentially entering an infinite loop during
shutdown.

http://tracker.ceph.com/issues/38387
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 82af5710ad49dd6e24c2736a9865e1a41add89a2)
src/librbd/ManagedLock.cc