Re: [PATCH] scsi: sd: add runtime pm to open / release

From: Bart Van Assche
Date: Tue Jun 30 2020 - 19:32:04 EST


On 2020-06-30 12:38, Alan Stern wrote:
> Assume that BLK_MQ_REQ_PREEMPT is set in flags. Then where exactly
> does blk_queue_enter(q, flags) call blk_pm_request_resume(q)?

Please take a look at how the *current* implementation of runtime power
management works. Your question is relevant for the old implementation
of runtime power management but not for the current implementation.

Bart.