Commit e34ec13a authored by Kent Overstreet's avatar Kent Overstreet

bcachefs: add more verbose logging

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 53b67d8d
...@@ -1057,12 +1057,13 @@ int bch2_fs_start(struct bch_fs *c) ...@@ -1057,12 +1057,13 @@ int bch2_fs_start(struct bch_fs *c)
} }
ret = 0; 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); up_write(&c->state_lock);
return ret; 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) static int bch2_dev_may_add(struct bch_sb *sb, struct bch_fs *c)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment