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

Bart Van Assche <[email protected]> Thu, 30 Jul 2026 11:33:00 -0700
Newsgroups org.kernel.vger.linux-scsi,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
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 <[email protected]>