diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-31 11:21:46 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-03-10 15:34:08 -0400 |
commit | 656f05d8bd65bd9cc4a07364e9497af55b09e436 (patch) | |
tree | 407c781ab85c2cde7e896552a56076081d108a53 /fs/bcachefs/journal_types.h | |
parent | 4f70176cb9df0ef452615a64084c3ad70e11c275 (diff) | |
download | linux-stable-656f05d8bd65bd9cc4a07364e9497af55b09e436.tar.gz linux-stable-656f05d8bd65bd9cc4a07364e9497af55b09e436.tar.bz2 linux-stable-656f05d8bd65bd9cc4a07364e9497af55b09e436.zip |
bcachefs: Split out journal workqueue
We don't want journal write completions to be blocked behind btree
transactions - io_complete_wq is used for btree updates after data and
metadata writes.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
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 38817c7a0851..2ca5d5014cf6 100644 --- a/fs/bcachefs/journal_types.h +++ b/fs/bcachefs/journal_types.h @@ -205,6 +205,7 @@ struct journal { struct closure io; struct delayed_work write_work; + struct workqueue_struct *wq; /* Sequence number of most recent journal entry (last entry in @pin) */ atomic64_t seq; |