From: Christoph Hellwig <hch@lst.de>
To: Bart Van Assche <bvanassche@acm.org>
Cc: Jens Axboe <axboe@kernel.dk>,
linux-block@vger.kernel.org, Christoph Hellwig <hch@lst.de>,
Nilay Shroff <nilay@linux.ibm.com>,
stable@vger.kernel.org
Subject: Re: [PATCH v2] block: Fix a deadlock related to modifying the readahead attribute
Date: Fri, 27 Jun 2025 09:17:02 +0200 [thread overview]
Message-ID: <20250627071702.GA992@lst.de> (raw)
In-Reply-To: <20250626203713.2258558-1-bvanassche@acm.org>
On Thu, Jun 26, 2025 at 01:37:13PM -0700, Bart Van Assche wrote:
> This deadlock happens because blk_mq_freeze_queue_nomemsave() waits for
> pending requests to finish. The pending requests do never complete because
> the dm-multipath queue_if_no_path option is enabled and the only path in
> the dm-multipath configuration is being removed.
Well, if there are queued never completed bios the freeze will obviously
fail. I don't see how this freeze is special vs other freezes or other
attributes that freeze.
next prev parent reply other threads:[~2025-06-27 7:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-26 20:37 [PATCH v2] block: Fix a deadlock related to modifying the readahead attribute Bart Van Assche
2025-06-27 7:17 ` Christoph Hellwig [this message]
2025-06-28 22:58 ` Bart Van Assche
2025-06-30 22:39 ` Bart Van Assche
2025-07-01 0:42 ` Keith Busch
2025-07-01 1:50 ` Bart Van Assche
2025-07-01 5:08 ` Nilay Shroff
2025-07-01 5:12 ` Nilay Shroff
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=20250627071702.GA992@lst.de \
--to=hch@lst.de \
--cc=axboe@kernel.dk \
--cc=bvanassche@acm.org \
--cc=linux-block@vger.kernel.org \
--cc=nilay@linux.ibm.com \
--cc=stable@vger.kernel.org \
/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