diff options
| author | Bart Van Assche <[email protected]> | 2020-12-09 05:29:49 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-12-09 16:41:42 +0000 |
| commit | e6044f714b256259df9611ff49af433e5411c5c8 (patch) | |
| tree | 9811e404ac92e7065e55b4df97ef625c1cc319be /scripts/gcc-plugins/structleak_plugin.c | |
| parent | scsi: scsi_transport_spi: Set RQF_PM for domain validation commands (diff) | |
| download | kernel-e6044f714b256259df9611ff49af433e5411c5c8.tar.gz kernel-e6044f714b256259df9611ff49af433e5411c5c8.zip | |
scsi: core: Only process PM requests if rpm_status != RPM_ACTIVE
Instead of submitting all SCSI commands submitted with scsi_execute() to a
SCSI device if rpm_status != RPM_ACTIVE, only submit RQF_PM (power
management requests) if rpm_status != RPM_ACTIVE. This patch makes the SCSI
core handle the runtime power management status (rpm_status) as it should
be handled.
Link: https://lore.kernel.org/r/[email protected]
Cc: Can Guo <[email protected]>
Cc: Stanley Chu <[email protected]>
Cc: Alan Stern <[email protected]>
Cc: Ming Lei <[email protected]>
Cc: Rafael J. Wysocki <[email protected]>
Cc: Martin Kepplinger <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Jens Axboe <[email protected]>
Reviewed-by: Can Guo <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions
