bcachefs: add more verbose logging

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet
2023-12-23 21:39:45 -05:00
parent 53b67d8dcf
commit e34ec13a56

View File

@@ -1057,12 +1057,13 @@ int bch2_fs_start(struct bch_fs *c)
}
ret = 0;
out:
err:
if (ret)
bch_err_msg(c, ret, "starting filesystem");
else
bch_verbose(c, "done starting filesystem");
up_write(&c->state_lock);
return ret;
err:
bch_err_msg(c, ret, "starting filesystem");
goto out;
}
static int bch2_dev_may_add(struct bch_sb *sb, struct bch_fs *c)