]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: Don't recurse in check_discard_freespace_key
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 29 Nov 2024 00:30:23 +0000 (19:30 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 21 Dec 2024 06:36:21 +0000 (01:36 -0500)
commit2cd85fea49d850629404d4668e104466114598e3
tree21f97c57083708c4af7ea6b3a44dcff0d364d373
parent9bdb3b73e73203546107eb11a4d8bb3ad3f48851
bcachefs: Don't recurse in check_discard_freespace_key

When calling check_discard_freeespace_key from the allocator, we can't
repair without recursing - run it asynchronously instead.

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