From: Bart Van Assche <bvanassche@acm.org>
To: Tao Cui <cui.tao@linux.dev>,
axboe@kernel.dk, hch@lst.de,
Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Cc: cuitao@kylinos.cn, linux-block@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4] loop: defer the queue limits clear to a workqueue
Date: Mon, 21 Sep 2026 10:40:51 -0700 [thread overview]
Message-ID: <a7ee4ea1-c255-4613-a4cd-aa20400b8756@acm.org> (raw)
In-Reply-To: <20260919104700.1578247-1-cui.tao@linux.dev>
On 9/19/26 3:47 AM, Tao Cui wrote:
> diff --git a/drivers/block/loop.c b/drivers/block/loop.c
> index 9f6e518e60d28..d6460f359c0a8 100644
> --- a/drivers/block/loop.c
> +++ b/drivers/block/loop.c
> @@ -68,9 +68,10 @@ struct loop_device {
> struct list_head idle_worker_list;
> struct rb_root worker_tree;
> struct work_struct clear_limits_work;
> - atomic_t clear_limits_mode;
> - atomic_t rebind_gen;
> - atomic_t clear_limits_gen;
> + struct mutex clear_limits_lock;
> + unsigned int clear_limits_mode;
> + unsigned int rebind_gen;
> + unsigned int clear_limits_gen;
This patch has been generated as a diff compared to v3. Please make sure
that your patch applies cleanly to Jens' for-next branch.
Thanks,
Bart.
prev parent reply other threads:[~2026-09-21 17:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-19 10:47 Tao Cui
2026-09-21 17:40 ` Bart Van Assche [this message]
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=a7ee4ea1-c255-4613-a4cd-aa20400b8756@acm.org \
--to=bvanassche@acm.org \
--cc=axboe@kernel.dk \
--cc=cui.tao@linux.dev \
--cc=cuitao@kylinos.cn \
--cc=hch@lst.de \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=penguin-kernel@I-love.SAKURA.ne.jp \
/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
all inboxes | Powered by JetHome®