bcachefs: Don't invalidate open buckets
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 18 Feb 2023 01:33:12 +0000 (20:33 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:53 +0000 (17:09 -0400)
commit84ddb8b98e674c0d052dd56a406efc5275c9508a
tree87b8e4869531c9e371d9c76b10b1cc4b679fc8a7
parent80c33085783656617d0d07e1bc9fba70a592ce5c
bcachefs: Don't invalidate open buckets

Like bch2_trans_mark_bucket(), we shouldn't be incrementing a bucket gen
while it's still open - erasure coding was hitting this.

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