mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 13:25:45 +02:00
cache: emit log messages when clearing FD cache
This enables us to correlate FD cache clears with external events such as btrfs inode eviction storms. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
parent
ffac407a9b
commit
0afd2850f4
@ -44,8 +44,10 @@ void
|
|||||||
BeesFdCache::clear()
|
BeesFdCache::clear()
|
||||||
{
|
{
|
||||||
BEESNOTE("Clearing root FD cache to enable subvol delete");
|
BEESNOTE("Clearing root FD cache to enable subvol delete");
|
||||||
|
BEESLOGDEBUG("Clearing root FD cache to enable subvol delete");
|
||||||
m_root_cache.clear();
|
m_root_cache.clear();
|
||||||
BEESCOUNT(root_clear);
|
BEESCOUNT(root_clear);
|
||||||
|
BEESLOGDEBUG("Clearing open FD cache to enable file delete");
|
||||||
BEESNOTE("Clearing open FD cache to enable file delete");
|
BEESNOTE("Clearing open FD cache to enable file delete");
|
||||||
m_file_cache.clear();
|
m_file_cache.clear();
|
||||||
BEESCOUNT(open_clear);
|
BEESCOUNT(open_clear);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user