Re: [PATCH v3] scsi: core: pair EH runtime PM get and put

From: Bart Van Assche

Date: Thu Jul 30 2026 - 15:02:06 EST


On 7/29/26 4:16 AM, Hongjie Fang wrote:
Fix this by making eh_noresume a regular bool so it can be accessed with
READ_ONCE() and WRITE_ONCE(). Snapshot it once per EH iteration and use
that snapshot for both runtime PM get and put decisions.
Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>