bcachefs: Don't spin in journal reclaim
authorKent Overstreet <kent.overstreet@gmail.com>
Sat, 26 Feb 2022 03:45:58 +0000 (22:45 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:25 +0000 (17:09 -0400)
commit2975cd4701b71d5b28753861a9388bf67db26231
tree5395ef785d36b60484ef7e6e6a198e2f38b41890
parenta0a07c59f5b4646b9371a1c119feeb6ee52b0012
bcachefs: Don't spin in journal reclaim

If we're not able to flush anything, we shouldn't keep looping.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/journal_reclaim.c