]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bcachefs: Fix journal reclaim spinning in recovery
authorKent Overstreet <kent.overstreet@gmail.com>
Sun, 29 Nov 2020 22:09:13 +0000 (17:09 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:48 +0000 (17:08 -0400)
commit5731cf01567da4f354bbff4a040b53f3f86328ad
tree4474111d39220748c197603f460281f0c548f8e9
parent89931472c20bee93c6bcb0df7b057edda6473381
bcachefs: Fix journal reclaim spinning in recovery

We can't run journal reclaim until we've finished replaying updates to
interior btree nodes - the check for this was in the wrong place though,
leading to journal reclaim spinning before it was allowed to proceed.

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/recovery.c