We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eab3a3c commit b3c7fd3Copy full SHA for b3c7fd3
fs/bcachefs/error.c
@@ -1,6 +1,7 @@
1
// SPDX-License-Identifier: GPL-2.0
2
#include "bcachefs.h"
3
#include "error.h"
4
+#include "journal.h"
5
#include "recovery_passes.h"
6
#include "super.h"
7
#include "thread_with_file.h"
@@ -16,7 +17,8 @@ bool bch2_inconsistent_error(struct bch_fs *c)
16
17
return false;
18
case BCH_ON_ERROR_ro:
19
if (bch2_fs_emergency_read_only(c))
- bch_err(c, "inconsistency detected - emergency read only");
20
+ bch_err(c, "inconsistency detected - emergency read only at journal seq %llu",
21
+ journal_cur_seq(&c->journal));
22
return true;
23
case BCH_ON_ERROR_panic:
24
panic(bch2_fmt(c, "panic after error"));
0 commit comments