diff options
author | Samuel Just <sam.just@inktank.com> | 2013-05-29 15:05:51 -0700 |
---|---|---|
committer | Samuel Just <sam.just@inktank.com> | 2013-05-29 15:05:51 -0700 |
commit | a55e03cdfe45754b2aff8110aa1a0518404f1218 (patch) | |
tree | dc6d183d889dd9f0b6ba0064f9057e05e5e23d30 /src/os/WBThrottle.cc | |
parent | 4b31c7e7929bffa530ded0a695c25f8c1b0f7774 (diff) | |
download | ceph-a55e03cdfe45754b2aff8110aa1a0518404f1218.tar.gz |
WBThrottle: add some comments and some asserts
Signed-off-by: Samuel Just <sam.just@inktank.com>
Diffstat (limited to 'src/os/WBThrottle.cc')
-rw-r--r-- | src/os/WBThrottle.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os/WBThrottle.cc b/src/os/WBThrottle.cc index 23e24765cc2..4673488f833 100644 --- a/src/os/WBThrottle.cc +++ b/src/os/WBThrottle.cc @@ -206,6 +206,8 @@ 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) |