]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/WBThrottle: remove asserts in clear()
authorSamuel Just <sam.just@inktank.com>
Thu, 30 May 2013 22:27:27 +0000 (15:27 -0700)
committerSamuel Just <sam.just@inktank.com>
Thu, 30 May 2013 22:42:34 +0000 (15:42 -0700)
cur_ios, etc may not be zero due to an in progress
flush.

Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
src/os/WBThrottle.cc

index 4673488f833482751635eddfb0469e0c57697f9f..23e24765cc2424e06d58d10368ad882e5d35f70f 100644 (file)
@@ -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)