mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
osdc/ObjectCacher: wake up dirty stat waiters after removing buffers
Fixes: http://tracker.ceph.com/issues/17275 Signed-off-by: Yan, Zheng <zyan@redhat.com>
This commit is contained in:
parent
29119aaff3
commit
a684dc5087
@ -2592,5 +2592,7 @@ void ObjectCacher::bh_remove(Object *ob, BufferHead *bh)
|
||||
dirty_or_tx_bh.erase(bh);
|
||||
}
|
||||
bh_stat_sub(bh);
|
||||
if (get_stat_dirty_waiting() > 0)
|
||||
stat_cond.Signal();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user