mirror of
https://github.com/ceph/ceph
synced 2025-01-14 06:53:11 +00:00
Merge pull request #11593 from ukernel/wip-17275
osdc/ObjectCacher: wake up dirty stat waiters after removing buffers Reviewed-by: John Spray <john.spray@redhat.com>
This commit is contained in:
commit
1a67328b35
@ -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