bcachefs: Don't fail mounts due to devices that are marked as failed
authorKent Overstreet <kent.overstreet@gmail.com>
Sat, 3 Apr 2021 03:41:10 +0000 (23:41 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:54 +0000 (17:08 -0400)
commited8269cc1d4107985aa92ade34cd3fe71315dd6a
tree10bfad00bae7bbf1a3a819b55af29ec180022e8e
parent1b05778707d04cb367a7ca8dbeff571b6117a191
bcachefs: Don't fail mounts due to devices that are marked as failed

If a given set of replicas is entirely on failed devices, don't fail the
mount: we will still fail the mount if we have some copies on non failed
devices.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/replicas.c