bcachefs: Fix journal reclaim loop
authorKent Overstreet <kent.overstreet@gmail.com>
Fri, 16 Apr 2021 16:38:14 +0000 (12:38 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:00 +0000 (17:09 -0400)
commit96f399d0eed9a63e706c045407675622f32f5a5d
tree7d91640610af487781fe217b76a5d9b8ba908ad6
parent3e07a7300f0684f7c77485e65a1ae97c7ab2514f
bcachefs: Fix journal reclaim loop

When dirty key cache keys were separated from other journal pins, we
broke the loop conditional in __bch2_journal_reclaim() - it's supposed
to keep looping as long as there's work to do.

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