From cd6be292b1563469c4fd5d45c2ca8a7376457dcb Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 3 Dec 2013 12:11:27 -0800 Subject: [PATCH] common/Finisher: allow finisher to be restarted Allow a start() after stop() by clearing the stop flag on a successful stop. Signed-off-by: Sage Weil --- src/common/Finisher.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/Finisher.cc b/src/common/Finisher.cc index a1462a184d908..0cbfc44926f3c 100644 --- a/src/common/Finisher.cc +++ b/src/common/Finisher.cc @@ -80,6 +80,7 @@ void *Finisher::finisher_thread_entry() finisher_empty_cond.Signal(); ldout(cct, 10) << "finisher_thread stop" << dendl; + finisher_stop = false; finisher_lock.Unlock(); return 0; } -- 2.39.5