Re: [PATCH] lib/sort.c: Add _nonatomic() variants with cond_resched()
From: Andrew Morton
Date: Thu Mar 27 2025 - 14:10:03 EST
On Wed, 26 Mar 2025 11:26:06 -0400 Kent Overstreet <kent.overstreet@xxxxxxxxx> wrote:
> bcachefs calls sort() during recovery to sort all keys it found in the
> journal, and this may be very large - gigabytes on large machines.
>
> This has been causing "task blocked" warnings, so needs a
> cond_resched().
I assume this has been happening for a while, so a cc:stable is appropriate?