mirror of
https://github.com/ceph/ceph
synced 2025-02-23 02:57:21 +00:00
client: print cache size during trim for debug
Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
parent
ea73a5cd77
commit
c6f2c32a65
@ -321,6 +321,7 @@ void Client::shutdown()
|
||||
|
||||
void Client::trim_cache()
|
||||
{
|
||||
ldout(cct, 20) << "trim_cache size " << lru.lru_get_size() << " max " << lru.lru_get_max() << dendl;
|
||||
unsigned last = 0;
|
||||
while (lru.lru_get_size() != last) {
|
||||
last = lru.lru_get_size();
|
||||
|
Loading…
Reference in New Issue
Block a user