bcachefs: Failed devices no longer require mounting in degraded mode
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
805ddc2042
commit
e92e5056e4
@ -800,7 +800,7 @@ bool bch2_have_enough_devs(struct bch_fs *c, struct bch_devs_mask devs,
|
|||||||
}
|
}
|
||||||
rcu_read_unlock();
|
rcu_read_unlock();
|
||||||
|
|
||||||
if (nr_failed == e->nr_devs)
|
if (nr_online + nr_failed == e->nr_devs)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (nr_online < e->nr_required)
|
if (nr_online < e->nr_required)
|
||||||
|
Loading…
Reference in New Issue
Block a user