mirror of
https://github.com/Zygo/bees.git
synced 2025-06-16 09:36:17 +02: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") << ": "
|
||||
<< pretty(e.size()) << " "
|
||||
<< 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.begin()) << " [" << bar << "] " << to_hex(e.end())
|
||||
<< ' ' << name_fd(bfr.fd())
|
||||
|
Reference in New Issue
Block a user