Skip to content

Commit e0fafac

Browse files
author
Kent Overstreet
committed
bcachefs: Don't filter partial list buckets in open_buckets_to_text()
these are an important source of stranded buckets we need to be able to watch Signed-off-by: Kent Overstreet <[email protected]>
1 parent a34eef6 commit e0fafac

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

fs/bcachefs/alloc_foreground.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1610,8 +1610,7 @@ void bch2_open_buckets_to_text(struct printbuf *out, struct bch_fs *c,
16101610
ob < c->open_buckets + ARRAY_SIZE(c->open_buckets);
16111611
ob++) {
16121612
spin_lock(&ob->lock);
1613-
if (ob->valid && !ob->on_partial_list &&
1614-
(!ca || ob->dev == ca->dev_idx))
1613+
if (ob->valid && (!ca || ob->dev == ca->dev_idx))
16151614
bch2_open_bucket_to_text(out, c, ob);
16161615
spin_unlock(&ob->lock);
16171616
}

0 commit comments

Comments
 (0)