]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bcachefs: Avoid deadlocking on the allocator
authorKent Overstreet <kent.overstreet@gmail.com>
Wed, 18 Sep 2019 23:33:12 +0000 (19:33 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:27 +0000 (17:08 -0400)
commit4d13e818f5c00ae064aefba8349383cc2d79bf6d
tree9be9b867199536e94cca8344fca25a34135d1557
parentf4b613410ccf9e3129d1466c23b28c23a77dd69a
bcachefs: Avoid deadlocking on the allocator

The allocator needs to make sure there's buckets available on the
RESERVE_NONE freelist if at all possible - otherwise foreground IO will
get stuck.

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