bcachefs: Minor journal reclaim improvement
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 2 Nov 2020 22:51:38 +0000 (17:51 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:45 +0000 (17:08 -0400)
commit2f33ece9b47741ba53b467b7599145ed7595a2d7
tree8eb3663977b9b672b27ead50e6199945a214d5be
parent45e4dcba79401dd17e0c32ff26f83e240c27ca5c
bcachefs: Minor journal reclaim improvement

With the btree key cache code, journal reclaim now has a lot more work
to do. It could be the case that after journal reclaim has finished one
iteration there's already more work to do, so put it in a loop to check
for that.

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