diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-04-30 20:32:44 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-05-08 17:29:23 -0400 |
commit | dbd0408087853c7842aa21f58f99d395eff02544 (patch) | |
tree | 2ea6d5f920bb68fa31183c6077c040a98327d46b /fs/bcachefs/bcachefs.h | |
parent | 633cf069445d95384d88e9ff40f395c001f8b2b7 (diff) | |
download | linux-stable-dbd0408087853c7842aa21f58f99d395eff02544.tar.gz linux-stable-dbd0408087853c7842aa21f58f99d395eff02544.tar.bz2 linux-stable-dbd0408087853c7842aa21f58f99d395eff02544.zip |
bcachefs: move replica_set from bch_dev to bch_fs
This is needed for the next patch - the write submit path has to be able
to allocate a replica bio even when we weren't able to get a ref on the
device.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/bcachefs.h')
-rw-r--r-- | fs/bcachefs/bcachefs.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/bcachefs/bcachefs.h b/fs/bcachefs/bcachefs.h index f5ba8c6a34d7..22d303813d31 100644 --- a/fs/bcachefs/bcachefs.h +++ b/fs/bcachefs/bcachefs.h @@ -569,9 +569,6 @@ struct bch_dev { struct bch_devs_mask self; - /* biosets used in cloned bios for writing multiple replicas */ - struct bio_set replica_set; - /* * Buckets: * Per-bucket arrays are protected by c->mark_lock, bucket_lock and @@ -995,6 +992,7 @@ struct bch_fs { struct bio_set bio_read; struct bio_set bio_read_split; struct bio_set bio_write; + struct bio_set replica_set; struct mutex bio_bounce_pages_lock; mempool_t bio_bounce_pages; struct bucket_nocow_lock_table |