diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-05-27 23:16:25 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:04 -0400 |
commit | d797ca3d8ed3b493d6558426fb4b4980ff186c37 (patch) | |
tree | 13d3b6099cd86e774510cd7061d791660e0e0800 /fs/bcachefs/journal_types.h | |
parent | 9eba7c8d15ce236b8033ae1f50fc1168984a507b (diff) | |
download | linux-stable-d797ca3d8ed3b493d6558426fb4b4980ff186c37.tar.gz linux-stable-d797ca3d8ed3b493d6558426fb4b4980ff186c37.tar.bz2 linux-stable-d797ca3d8ed3b493d6558426fb4b4980ff186c37.zip |
bcachefs: Fix journal write error path
Journal write errors were racing with the submission path - potentially
causing writes to other replicas to not get submitted.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/journal_types.h')
-rw-r--r-- | fs/bcachefs/journal_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/journal_types.h b/fs/bcachefs/journal_types.h index b4e4d5e0bc93..cce02bad850c 100644 --- a/fs/bcachefs/journal_types.h +++ b/fs/bcachefs/journal_types.h @@ -21,6 +21,7 @@ struct journal_buf { struct jset *data; __BKEY_PADDED(key, BCH_REPLICAS_MAX); + struct bch_devs_list devs_written; struct closure_waitlist wait; u64 last_seq; /* copy of data->last_seq */ |