diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-02-14 02:47:05 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 23:09:23 +0200 |
commit | 0f78264a6b84733cc9ef36d22c547133cab21270 (patch) | |
tree | 096660aa4616c9404b6c3f73dbae80204108c52e | |
parent | bcachefs: Small fsck fix (diff) | |
download | linux-0f78264a6b84733cc9ef36d22c547133cab21270.tar.xz linux-0f78264a6b84733cc9ef36d22c547133cab21270.zip |
bcachefs: Print a better message for mark and sweep pass
Btree gc, aka mark and sweep, checks allocations - so let's just print
that.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
-rw-r--r-- | fs/bcachefs/recovery.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/bcachefs/recovery.c b/fs/bcachefs/recovery.c index feafb7296ddf..939f7565d290 100644 --- a/fs/bcachefs/recovery.c +++ b/fs/bcachefs/recovery.c @@ -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); |