From: Samuel Just Date: Thu, 30 May 2013 22:27:27 +0000 (-0700) Subject: os/WBThrottle: remove asserts in clear() X-Git-Tag: v0.65~188 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d1b3eebdedae0196d79fd18b4dc68f0b735d169f;p=ceph.git os/WBThrottle: remove asserts in clear() cur_ios, etc may not be zero due to an in progress flush. Signed-off-by: Samuel Just Reviewed-by: Greg Farnum --- diff --git a/src/os/WBThrottle.cc b/src/os/WBThrottle.cc index 4673488f8334..23e24765cc24 100644 --- a/src/os/WBThrottle.cc +++ b/src/os/WBThrottle.cc @@ -206,8 +206,6 @@ void WBThrottle::clear() lru.clear(); rev_lru.clear(); cond.Signal(); - assert(cur_ios == 0); - assert(cur_size == 0); } void WBThrottle::clear_object(const hobject_t &hoid)