1
0
Mirror von https://github.com/tkuschel/bees.git synchronisiert 2026-05-08 04:59:37 +02:00

bees: change formatting for physical bytenr ranges in dedup

Use a different character to make it easier to search for bytenr ranges
in the logs.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
(cherry picked from commit d43199e3d6e6469264eb10de8b0a783f8573e0e8)
Dieser Commit ist enthalten in:
Zygo Blaxell
2017-01-27 21:46:41 -05:00
Ursprung 6c8d2bf428
Commit 3fdc217b4f
+1 -1
Datei anzeigen
@@ -295,7 +295,7 @@ BeesContext::dedup(const BeesRangePair &brp)
}
BeesAddress first_addr(brp.first.fd(), brp.first.begin());
BeesAddress second_addr(brp.second.fd(), brp.second.begin());
dst_line << " (" << first_addr << "->" << second_addr << ")";
dst_line << " {" << first_addr << "->" << second_addr << "}";
if (first_addr.get_physical_or_zero() == second_addr.get_physical_or_zero()) {
BEESLOGTRACE("equal physical addresses in dedup");
BEESCOUNT(bug_dedup_same_physical);