bcachefs: Add a cond_resched() call to journal_keys_sort()
authorKent Overstreet <kent.overstreet@linux.dev>
Tue, 4 Apr 2023 17:25:06 +0000 (13:25 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:59 +0000 (17:09 -0400)
commit2776369266ad04095204128d72cf0d429b5fb678
tree70f53e6236ffeda706b8f3dcee0ba568325ba538
parentbb6c4b92fd8566aeb92e56f464ff809ae7e60155
bcachefs: Add a cond_resched() call to journal_keys_sort()

We're just doing cpu work here and it could take awhile, a
cond_resched() is definitely needed.

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