]> www.infradead.org Git - users/hch/misc.git/commit
bcachefs: BCH_WRITE_ALLOC_NOWAIT no longer applies to open bucket allocation
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 1 Sep 2024 21:32:22 +0000 (17:32 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 21 Sep 2024 15:35:20 +0000 (11:35 -0400)
commita977f3e162924ef82536ad23448364f2b3e9f026
tree5e1d9cb0d7da110f33117e5bf75a79fb9ad1c879
parent2e95497e81010a0f409a7c0ab39404ef591371e9
bcachefs: BCH_WRITE_ALLOC_NOWAIT no longer applies to open bucket allocation

rebalance writes must be BCH_WRITE_ALLOC_NOWAIT because they don't
allocate from the full filesystem - but we don't want spurious
allocation failures due to open buckets.

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