mirror of
				https://github.com/Zygo/bees.git
				synced 2025-11-04 04:00:36 +01:00 
			
		
		
		
	stats: rename "chase_wrong_data" to "chase_no_data"
An empty BeesBlockData from the chasing algorithm used to mean that data was found at the expected location but it does not match; however, there are now other reasons for this and they occur much more often. The name is misleading. Change the name to report more correctly what happens: no data, without any guess about the reason. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
		@@ -230,7 +230,7 @@ BeesResolver::chase_extent_ref(const BtrfsInodeOffsetRoot &bior, BeesBlockData &
 | 
			
		||||
	auto new_bbd = adjust_offset(haystack_bbd, needle_bbd);
 | 
			
		||||
	if (new_bbd.empty()) {
 | 
			
		||||
		// matching offset search failed
 | 
			
		||||
		BEESCOUNT(chase_wrong_data);
 | 
			
		||||
		BEESCOUNT(chase_no_data);
 | 
			
		||||
		return BeesFileRange();
 | 
			
		||||
	}
 | 
			
		||||
	if (new_bbd.begin() == haystack_bbd.begin()) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user