]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/journal_types.h
Update bcachefs sources to 7958ebe324 bcachefs: Fix alloc_v4_backpointers()
[bcachefs-tools-debian] / libbcachefs / journal_types.h
index 045ee95a92a874a09668e75a5cabae92f9ce27e4..c8729cb37f06808ecec9588ad9a159db124281f2 100644 (file)
@@ -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: */
@@ -203,6 +205,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.