diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-02-14 18:38:52 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:16 -0400 |
commit | 768ac63924775d9fe2e76fbb254704d5ee3bcb85 (patch) | |
tree | ef815d5e731c2a1062ebb27bc1da414098c245a4 /fs/bcachefs/journal.h | |
parent | 8fe826f90aad4ea314d0acdf7425a9bf2324e17f (diff) | |
download | lwn-768ac63924775d9fe2e76fbb254704d5ee3bcb85.tar.gz lwn-768ac63924775d9fe2e76fbb254704d5ee3bcb85.zip |
bcachefs: Add a mechanism for blocking the journal
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/journal.h')
-rw-r--r-- | fs/bcachefs/journal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/bcachefs/journal.h b/fs/bcachefs/journal.h index 6ef34bdae628..5290cdeab585 100644 --- a/fs/bcachefs/journal.h +++ b/fs/bcachefs/journal.h @@ -370,6 +370,9 @@ static inline void bch2_journal_set_replay_done(struct journal *j) set_bit(JOURNAL_REPLAY_DONE, &j->flags); } +void bch2_journal_unblock(struct journal *); +void bch2_journal_block(struct journal *); + ssize_t bch2_journal_print_debug(struct journal *, char *); ssize_t bch2_journal_print_pins(struct journal *, char *); |