mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 15:12:13 +02:00
bcachefs: Print shutdown journal sequence number
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
d880a43836
commit
9802ff48f3
|
|
@ -288,8 +288,13 @@ 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:
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user