mirror of
				https://github.com/Zygo/bees.git
				synced 2025-11-03 19:50:34 +01:00 
			
		
		
		
	extent scan: no need for "No ref for extent" debug message
While a snapshot is being deleted, there will be a continuous stream of "No ref for extent" messages. This is a common event that does not need to be reported. There is an analogous situation when a call to open() fails with ENOENT. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
		@@ -645,7 +645,7 @@ BeesScanModeExtent::create_extent_map(const uint64_t bytenr, const ProgressTrack
 | 
			
		||||
			bedf.objectid(i.m_inum);
 | 
			
		||||
			const auto bti = bedf.at(i.m_offset);
 | 
			
		||||
			if (!bti) {
 | 
			
		||||
				BEESLOGDEBUG("No ref for extent " << to_hex(bytenr) << " at root " << i.m_root << " ino " << i.m_inum << " offset " << to_hex(i.m_offset));
 | 
			
		||||
				// BEESLOGDEBUG("No ref for extent " << to_hex(bytenr) << " at root " << i.m_root << " ino " << i.m_inum << " offset " << to_hex(i.m_offset));
 | 
			
		||||
				BEESCOUNT(extent_ref_missing);
 | 
			
		||||
				return;
 | 
			
		||||
			}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user