]> www.infradead.org Git - users/dwmw2/linux.git/commit
bcachefs: Fix deadlock on -ENOSPC w.r.t. partial open buckets
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 27 Oct 2024 00:21:41 +0000 (20:21 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Tue, 29 Oct 2024 10:34:10 +0000 (06:34 -0400)
commit778ac324ccfad7b941bba604118e38a19800657b
tree78933296114bc95534a7db7d85557c716ba96c3f
parente0fafac5c4b61501f60c3841649170424eda641f
bcachefs: Fix deadlock on -ENOSPC w.r.t. partial open buckets

Open buckets on the partial list should not count as allocated when
we're trying to allocate from the partial list.

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