diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-03-02 14:45:50 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2019-03-02 14:45:50 -0500 |
commit | 70bb5ab7a863ccff57ceb2a195d7cfa0fdf39218 (patch) | |
tree | 80b480a59263ca8559a1573875f5c83ae2d6bf31 /libbcachefs/journal_types.h | |
parent | 35ab35989718ebce0419b911a7267a1f1563d61e (diff) |
Update bcachefs sources to a5e71b8200 bcachefs: Allocator startup fixes/refactoring
Diffstat (limited to 'libbcachefs/journal_types.h')
-rw-r--r-- | libbcachefs/journal_types.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libbcachefs/journal_types.h b/libbcachefs/journal_types.h index f5629237..8772e53f 100644 --- a/libbcachefs/journal_types.h +++ b/libbcachefs/journal_types.h @@ -135,6 +135,12 @@ struct journal { unsigned cur_entry_u64s; unsigned cur_entry_sectors; + /* + * 0, or -ENOSPC if waiting on journal reclaim, or -EROFS if + * insufficient devices: + */ + int cur_entry_error; + /* Reserved space in journal entry to be used just prior to write */ unsigned entry_u64s_reserved; |