Skip to content

Commit d06f34c

Browse files
author
wanglinke
committed
os/bluestore: fix bluefs perf counters about l_bluefs_log_compactions
In BlueFS::_compact_log_sync_LNF_LD,l_bluefs_log_compactions is being counted two times. Fixes: https://tracker.ceph.com/issues/64533 co-author: Jrchyang Yu <[email protected]> Signed-off-by: Wang Linke <[email protected]>
1 parent ed736fa commit d06f34c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/os/bluestore/BlueFS.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2763,7 +2763,6 @@ void BlueFS::_rewrite_log_and_layout_sync_LNF_LD(bool permit_dev_fallback,
27632763

27642764
// we're mostly done
27652765
dout(10) << __func__ << " log extents " << log_file->fnode.extents << dendl;
2766-
logger->inc(l_bluefs_log_compactions);
27672766

27682767
// Part 4
27692768
// Finalization. Release old space.

0 commit comments

Comments
 (0)