summaryrefslogtreecommitdiff
path: root/fs/bcachefs/journal.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/bcachefs/journal.c')
-rw-r--r--fs/bcachefs/journal.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/fs/bcachefs/journal.c b/fs/bcachefs/journal.c
index c0ea77524792..1b49c44f92c4 100644
--- a/fs/bcachefs/journal.c
+++ b/fs/bcachefs/journal.c
@@ -1367,7 +1367,16 @@ err:
bch_err(c, "journal replay error: %d", ret);
journal_entries_free(j, list);
-
+#if 0
+ {
+ struct bucket_stats_cache_set s =
+ __bch_bucket_stats_read_cache_set(c);
+ pr_info("post replay: meta %llu dirty %llu reserved %llu",
+ s.sectors_meta,
+ s.sectors_dirty,
+ s.sectors_reserved);
+ }
+#endif
return ret;
}