diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-04-26 00:32:56 -0400 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-05-08 17:29:21 -0400 |
| commit | 45150765d307c1043baa68aff53cb6fa5ba34603 (patch) | |
| tree | 422ec8ff0fd4e874488f8a4476ee1be59bc9edc6 /fs/bcachefs/journal_io.h | |
| parent | c74954135353fac7c206ec15d71c95f981fd0e9d (diff) | |
bcachefs: bch_member.last_journal_bucket
On recovery from clean shutdown we don't typically read the journal, but
we still want to avoid overwriting existing entries in the journal for
list_journal debugging.
Thus, add some fields to the member info section so we can remember
where we left off.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/journal_io.h')
| -rw-r--r-- | fs/bcachefs/journal_io.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/bcachefs/journal_io.h b/fs/bcachefs/journal_io.h index 4f1e763ab506..43cfed58ef33 100644 --- a/fs/bcachefs/journal_io.h +++ b/fs/bcachefs/journal_io.h @@ -4,6 +4,9 @@ #include "darray.h" +void bch2_journal_pos_from_member_info_set(struct bch_fs *); +void bch2_journal_pos_from_member_info_resume(struct bch_fs *); + struct journal_ptr { bool csum_good; u8 dev; |
