diff options
author | Samuel Just <sam.just@inktank.com> | 2013-05-30 15:27:27 -0700 |
---|---|---|
committer | Samuel Just <sam.just@inktank.com> | 2013-05-30 15:42:34 -0700 |
commit | d1b3eebdedae0196d79fd18b4dc68f0b735d169f (patch) | |
tree | 51cfb6f5149da09b8f5371fe442182bf78a0a17e | |
parent | e9c32b97aa2235d5bb420e849e58d699a6f7aa8d (diff) | |
download | ceph-d1b3eebdedae0196d79fd18b4dc68f0b735d169f.tar.gz |
os/WBThrottle: remove asserts in clear()
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>
-rw-r--r-- | src/os/WBThrottle.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/os/WBThrottle.cc b/src/os/WBThrottle.cc index 4673488f833..23e24765cc2 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) |