bcachefs: Print a better message for mark and sweep pass
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 14 Feb 2022 01:47:05 +0000 (20:47 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:23 +0000 (17:09 -0400)
Btree gc, aka mark and sweep, checks allocations - so let's just print
that.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/recovery.c

index feafb7296ddf753985bcf67b4c01602235f47f3b..939f7565d2901da450eca785757b1629c63e6d89 100644 (file)
@@ -1144,12 +1144,12 @@ use_clean:
            test_bit(BCH_FS_REBUILD_REPLICAS, &c->flags)) {
                bool metadata_only = c->opts.norecovery;
 
-               bch_info(c, "starting mark and sweep");
+               bch_info(c, "checking allocations");
                err = "error in mark and sweep";
                ret = bch2_gc(c, true, metadata_only);
                if (ret)
                        goto err;
-               bch_verbose(c, "mark and sweep done");
+               bch_verbose(c, "done checking allocations");
        }
 
        bch2_stripes_heap_start(c);