]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
WBThrottle::clear_object: signal if we cleared an object 5757/head
authorSamuel Just <sjust@redhat.com>
Tue, 7 Jul 2015 15:49:54 +0000 (08:49 -0700)
committerLoic Dachary <ldachary@redhat.com>
Wed, 2 Sep 2015 07:20:26 +0000 (09:20 +0200)
Fixes: #12223
Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 8447b08d60d5cf7dce20f8b839cc2cb5a93782de)

src/os/WBThrottle.cc

index 85bca32e568b62e76e091d7e6f2615221bf451a8..f472a23c85c1e37d7c2ae4f53e5fe2f6ba3f591e 100644 (file)
@@ -259,6 +259,7 @@ void WBThrottle::clear_object(const ghobject_t &hoid)
 
   pending_wbs.erase(i);
   remove_object(hoid);
+  cond.Signal();
 }
 
 void WBThrottle::throttle()