From: Bart Van Assche <bvanassche@acm.org>
To: Chaohai Chen <wdhh6@aliyun.com>,
James.Bottomley@HansenPartnership.com,
martin.petersen@oracle.com, dlemoal@kernel.org,
hch@infradead.org
Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v5] scsi: core: Drop using the host_lock to protect async_scan race condition
Date: Thu, 5 Mar 2026 09:09:20 -0600 [thread overview]
Message-ID: <089ec667-4daf-4de0-b986-551f74d98208@acm.org> (raw)
In-Reply-To: <20260305025125.3649517-1-wdhh6@aliyun.com>
On 3/4/26 8:51 PM, Chaohai Chen wrote:
> + /* Asynchronous scan in progress */
> + bool async_scan __guarded_by(&scan_mutex);
The __guarded_by() is ignored because CONTEXT_ANALYSIS has not yet been
set in the drivers/scsi/Makefile. This is something I plan to do if
nobody else does it first. Anyway:
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
next prev parent reply other threads:[~2026-03-05 15:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-05 2:51 Chaohai Chen
2026-03-05 15:09 ` Bart Van Assche [this message]
2026-03-05 16:23 ` John Garry
2026-03-07 15:58 ` Martin K. Petersen
2026-03-16 1:41 ` Martin K. Petersen
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=089ec667-4daf-4de0-b986-551f74d98208@acm.org \
--to=bvanassche@acm.org \
--cc=James.Bottomley@HansenPartnership.com \
--cc=dlemoal@kernel.org \
--cc=hch@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=wdhh6@aliyun.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
all inboxes | Powered by JetHome®