mirror of
				https://github.com/Zygo/bees.git
				synced 2025-11-04 04:00:36 +01:00 
			
		
		
		
	scan_one_extent: in skip/scan lines, log whether extent is compressed
Useful for debugging the compressed-zero-block cases. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
		@@ -818,7 +818,8 @@ BeesContext::scan_one_extent(const BeesFileRange &bfr, const Extent &e)
 | 
				
			|||||||
			(force_insert ? "skip" : "scan") << ": "
 | 
								(force_insert ? "skip" : "scan") << ": "
 | 
				
			||||||
			<< pretty(e.size()) << " "
 | 
								<< pretty(e.size()) << " "
 | 
				
			||||||
			<< dedupe_list.size() << "d" << copy_list.size() << "c"
 | 
								<< dedupe_list.size() << "d" << copy_list.size() << "c"
 | 
				
			||||||
			<< ((bytes_zeroed + BLOCK_SIZE_SUMS - 1) / BLOCK_SIZE_SUMS) << "p {"
 | 
								<< ((bytes_zeroed + BLOCK_SIZE_SUMS - 1) / BLOCK_SIZE_SUMS) << "p"
 | 
				
			||||||
 | 
								<< (extent_compressed ? "z {" : " {")
 | 
				
			||||||
			<< to_hex(e.bytenr()) << "+" << to_hex(e.offset()) << "} "
 | 
								<< to_hex(e.bytenr()) << "+" << to_hex(e.offset()) << "} "
 | 
				
			||||||
			<< to_hex(e.begin()) << " [" << bar << "] " << to_hex(e.end())
 | 
								<< to_hex(e.begin()) << " [" << bar << "] " << to_hex(e.end())
 | 
				
			||||||
			<< ' ' << name_fd(bfr.fd())
 | 
								<< ' ' << name_fd(bfr.fd())
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user