From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Chaohai Chen <wdhh6@aliyun.com>
Cc: James.Bottomley@HansenPartnership.com,
martin.petersen@oracle.com, dlemoal@kernel.org,
bvanassche@acm.org, hch@infradead.org,
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: Sat, 07 Mar 2026 10:58:52 -0500 [thread overview]
Message-ID: <yq1wlznws0c.fsf@ca-mkp.ca.oracle.com> (raw)
In-Reply-To: <20260305025125.3649517-1-wdhh6@aliyun.com> (Chaohai Chen's message of "Thu, 5 Mar 2026 10:51:24 +0800")
Chaohai,
> Previously, host_lock was used to prevent bit-set conflicts in
> async_scan, but this approach introduced naked reads in some code
> paths.
Applied to 7.1/scsi-staging, thanks!
--
Martin K. Petersen
next prev parent reply other threads:[~2026-03-07 15:59 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
2026-03-05 16:23 ` John Garry
2026-03-07 15:58 ` Martin K. Petersen [this message]
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=yq1wlznws0c.fsf@ca-mkp.ca.oracle.com \
--to=martin.petersen@oracle.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=bvanassche@acm.org \
--cc=dlemoal@kernel.org \
--cc=hch@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--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®