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 <yuzhiqiang_yewu@cmss.chinamobile.com>
Signed-off-by: Wang Linke <wanglinke_yewu@cmss.chinamobile.com>
(cherry picked from commit
d06f34c5e772bb834bd17a593801ad97e4596338)
// we're mostly done
dout(10) << __func__ << " log extents " << log_file->fnode.extents << dendl;
- logger->inc(l_bluefs_log_compactions);
// Part 4
// Finalization. Release old space.