mirror of
				https://github.com/Zygo/bees.git
				synced 2025-11-03 19:50:34 +01: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:
		@@ -44,8 +44,10 @@ void
 | 
			
		||||
BeesFdCache::clear()
 | 
			
		||||
{
 | 
			
		||||
	BEESNOTE("Clearing root FD cache to enable subvol delete");
 | 
			
		||||
	BEESLOGDEBUG("Clearing root FD cache to enable subvol delete");
 | 
			
		||||
	m_root_cache.clear();
 | 
			
		||||
	BEESCOUNT(root_clear);
 | 
			
		||||
	BEESLOGDEBUG("Clearing open FD cache to enable file delete");
 | 
			
		||||
	BEESNOTE("Clearing open FD cache to enable file delete");
 | 
			
		||||
	m_file_cache.clear();
 | 
			
		||||
	BEESCOUNT(open_clear);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user