mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 00:04:15 +08:00
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();
|
||||
|
||||
if (nr_failed == e->nr_devs)
|
||||
if (nr_online + nr_failed == e->nr_devs)
|
||||
continue;
|
||||
|
||||
if (nr_online < e->nr_required)
|
||||
|
Loading…
Reference in New Issue
Block a user