diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-02-25 21:11:52 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-02-25 21:34:11 -0500 |
commit | 62ab2e5216efdbecdc063f3c51012904940de3f3 (patch) | |
tree | a2a2f419253b9419e01ba0365b3798c834d43b84 /libbcachefs/super.c | |
parent | 55a2b65bd0195c934a5d862f96f6d91d96d06f83 (diff) |
Update bcachefs sources to 26494335d114 bcachefs: improve move_gap()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'libbcachefs/super.c')
-rw-r--r-- | libbcachefs/super.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libbcachefs/super.c b/libbcachefs/super.c index 46da8204..a7f9de22 100644 --- a/libbcachefs/super.c +++ b/libbcachefs/super.c @@ -286,13 +286,8 @@ static void __bch2_fs_read_only(struct bch_fs *c) if (test_bit(JOURNAL_REPLAY_DONE, &c->journal.flags) && !test_bit(BCH_FS_emergency_ro, &c->flags)) set_bit(BCH_FS_clean_shutdown, &c->flags); - bch2_fs_journal_stop(&c->journal); - bch_info(c, "%sshutdown complete, journal seq %llu", - test_bit(BCH_FS_clean_shutdown, &c->flags) ? "" : "un", - c->journal.seq_ondisk); - /* * After stopping journal: */ @@ -466,7 +461,6 @@ static int __bch2_fs_read_write(struct bch_fs *c, bool early) * at least one non-flush write in the journal or recovery will fail: */ set_bit(JOURNAL_NEED_FLUSH_WRITE, &c->journal.flags); - set_bit(JOURNAL_RUNNING, &c->journal.flags); for_each_rw_member(c, ca) bch2_dev_allocator_add(c, ca); |