Re: [PATCH v5] scsi: core: Drop using the host_lock to protect async_scan race condition
From: Bart Van Assche
Date: Thu Mar 05 2026 - 10:15:10 EST
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@xxxxxxx>