mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +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)
This commit is contained in:
parent
6c8d2bf428
commit
3fdc217b4f
@ -295,7 +295,7 @@ BeesContext::dedup(const BeesRangePair &brp)
|
|||||||
}
|
}
|
||||||
BeesAddress first_addr(brp.first.fd(), brp.first.begin());
|
BeesAddress first_addr(brp.first.fd(), brp.first.begin());
|
||||||
BeesAddress second_addr(brp.second.fd(), brp.second.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()) {
|
if (first_addr.get_physical_or_zero() == second_addr.get_physical_or_zero()) {
|
||||||
BEESLOGTRACE("equal physical addresses in dedup");
|
BEESLOGTRACE("equal physical addresses in dedup");
|
||||||
BEESCOUNT(bug_dedup_same_physical);
|
BEESCOUNT(bug_dedup_same_physical);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user