From: Andrew Morton <akpm@linux-foundation.org>
To: Kent Overstreet <kent.overstreet@linux.dev>
Cc: linux-bcachefs@vger.kernel.org, linux-kernel@vger.kernel.org,
Kuan-Wei Chiu <visitorckw@gmail.com>
Subject: Re: [PATCH] lib/sort.c: Add _nonatomic() variants with cond_resched()
Date: Thu, 27 Mar 2025 11:09:23 -0700 [thread overview]
Message-ID: <20250327110923.41e281e75fcf5b1152a55a64@linux-foundation.org> (raw)
In-Reply-To: <20250326152606.2594920-1-kent.overstreet@linux.dev>
On Wed, 26 Mar 2025 11:26:06 -0400 Kent Overstreet <kent.overstreet@linux.dev> 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?
next prev parent reply other threads:[~2025-03-27 18:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-26 15:26 [PATCH] lib/sort.c: Add _nonatomic() variants with cond_resched() Kent Overstreet
2025-03-26 15:54 ` Kuan-Wei Chiu
2025-03-26 16:09 ` Kent Overstreet
2025-03-27 18:09 ` Andrew Morton [this message]
2025-03-27 19:47 ` Kent Overstreet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250327110923.41e281e75fcf5b1152a55a64@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=kent.overstreet@linux.dev \
--cc=linux-bcachefs@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=visitorckw@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox