summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/journal_types.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-01-31 13:20:28 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2024-03-10 15:34:08 -0400
commit51654002755b34b0bdedd03dd381bd6d46a657a5 (patch)
tree4a11b1d2ee4f29a8607ec3356b21aebbd4e8c98d /fs/bcachefs/journal_types.h
parent52f7d75e7d36ae4258c4ceef4cb86dc2950e7906 (diff)
downloadlinux-stable-51654002755b34b0bdedd03dd381bd6d46a657a5.tar.gz
linux-stable-51654002755b34b0bdedd03dd381bd6d46a657a5.tar.bz2
linux-stable-51654002755b34b0bdedd03dd381bd6d46a657a5.zip
bcachefs: bio per journal buf
Prep work for having multiple journal writes in flight. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/journal_types.h')
-rw-r--r--fs/bcachefs/journal_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/journal_types.h b/fs/bcachefs/journal_types.h
index 1493c262eaf4..79db1daa1de2 100644
--- a/fs/bcachefs/journal_types.h
+++ b/fs/bcachefs/journal_types.h
@@ -315,7 +315,7 @@ struct journal_device {
u64 *buckets;
/* Bio for journal reads/writes to this device */
- struct bio *bio;
+ struct bio *bio[JOURNAL_BUF_NR];
/* for bch_journal_read_device */
struct closure read;