mirror of
https://github.com/versity/scoutfs.git
synced 2026-02-07 11:10:44 +00:00
scoutfs: trace compaction manifest entries
Trace the manifest entries compaction received from the server. Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
@@ -633,6 +633,13 @@ static void scoutfs_compact_func(struct work_struct *work)
|
||||
if (ret == 0 && list_empty(&curs.csegs))
|
||||
return;
|
||||
|
||||
/* trace compaction ranges */
|
||||
list_for_each_entry(cseg, &curs.csegs, entry) {
|
||||
SK_TRACE_PRINTK("level %u segno %llu first "SK_FMT" last "SK_FMT"\n",
|
||||
cseg->level, cseg->segno, SK_ARG(cseg->first),
|
||||
SK_ARG(cseg->last));
|
||||
}
|
||||
|
||||
if (ret == 0 && !list_empty(&curs.csegs)) {
|
||||
ret = compact_segments(sb, &curs, &comp, &results);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user