diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-12-19 14:47:35 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2022-12-19 14:47:35 -0500 |
commit | 71111771690f244d13650c73d52ff601ad914d95 (patch) | |
tree | 4877e26805b2c0666930c8ee417396a2c8e5b728 /libbcachefs/journal_types.h | |
parent | 3c0484687d00f3f2818d13c0c6f65123abcf4517 (diff) |
Update bcachefs sources to 7958ebe324 bcachefs: Fix alloc_v4_backpointers()
Diffstat (limited to 'libbcachefs/journal_types.h')
-rw-r--r-- | libbcachefs/journal_types.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libbcachefs/journal_types.h b/libbcachefs/journal_types.h index 045ee95a..c8729cb3 100644 --- a/libbcachefs/journal_types.h +++ b/libbcachefs/journal_types.h @@ -177,6 +177,8 @@ enum journal_errors { #undef x }; +typedef DARRAY(u64) darray_u64; + /* Embedded in struct bch_fs */ struct journal { /* Fastpath stuff up front: */ @@ -204,6 +206,12 @@ struct journal { unsigned buf_size_want; /* + * We may queue up some things to be journalled (log messages) before + * the journal has actually started - stash them here: + */ + darray_u64 early_journal_entries; + + /* * Two journal entries -- one is currently open for new entries, the * other is possibly being written out. */ |