Commit e0fafac5 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

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: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent a34eef6d
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1610,8 +1610,7 @@ void bch2_open_buckets_to_text(struct printbuf *out, struct bch_fs *c,
	     ob < c->open_buckets + ARRAY_SIZE(c->open_buckets);
	     ob++) {
		spin_lock(&ob->lock);
		if (ob->valid && !ob->on_partial_list &&
		    (!ca || ob->dev == ca->dev_idx))
		if (ob->valid && (!ca || ob->dev == ca->dev_idx))
			bch2_open_bucket_to_text(out, c, ob);
		spin_unlock(&ob->lock);
	}