bcachefs: move replica_set from bch_dev to bch_fs
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 1 May 2024 00:32:44 +0000 (20:32 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Wed, 8 May 2024 21:29:23 +0000 (17:29 -0400)
commitdbd0408087853c7842aa21f58f99d395eff02544
tree2ea6d5f920bb68fa31183c6077c040a98327d46b
parent633cf069445d95384d88e9ff40f395c001f8b2b7
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>
fs/bcachefs/bcachefs.h
fs/bcachefs/io_write.c
fs/bcachefs/super.c