summaryrefslogtreecommitdiff
path: root/src/os/WBThrottle.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/WBThrottle.cc')
-rw-r--r--src/os/WBThrottle.cc2
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)