mbox series

[v2,0/2] Reduce ATA disk resume time

Message ID 20220630195703.10155-1-bvanassche@acm.org
Headers show
Series Reduce ATA disk resume time | expand

Message

Bart Van Assche June 30, 2022, 7:57 p.m. UTC
Hi Martin,

Recently it was reported that patch "scsi: core: pm: Rely on the device driver
core for async power management" causes resuming to take longer if an ATA disk
is present. This patch series fixes that regression. Please consider this
patch series for kernel v5.20.

Thanks,

Bart.

Changes compared to v1: addressed John Garry's two comments.

Bart Van Assche (2):
  scsi: core: Move the definition of SCSI_QUEUE_DELAY
  scsi: sd: Rework asynchronous resume support

 drivers/scsi/scsi_lib.c | 14 +++----
 drivers/scsi/sd.c       | 84 ++++++++++++++++++++++++++++++++---------
 drivers/scsi/sd.h       |  5 +++
 3 files changed, 78 insertions(+), 25 deletions(-)

Comments

Martin K. Petersen July 7, 2022, 9:07 p.m. UTC | #1
Bart,

> Recently it was reported that patch "scsi: core: pm: Rely on the
> device driver core for async power management" causes resuming to take
> longer if an ATA disk is present. This patch series fixes that
> regression. Please consider this patch series for kernel v5.20.

Applied to 5.20/scsi-staging, thanks!
Martin K. Petersen July 14, 2022, 4:22 a.m. UTC | #2
On Thu, 30 Jun 2022 12:57:01 -0700, Bart Van Assche wrote:

> Recently it was reported that patch "scsi: core: pm: Rely on the device driver
> core for async power management" causes resuming to take longer if an ATA disk
> is present. This patch series fixes that regression. Please consider this
> patch series for kernel v5.20.
> 
> Thanks,
> 
> [...]

Applied to 5.20/scsi-queue, thanks!

[1/2] scsi: core: Move the definition of SCSI_QUEUE_DELAY
      https://git.kernel.org/mkp/scsi/c/90552cd2d1f9
[2/2] scsi: sd: Rework asynchronous resume support
      https://git.kernel.org/mkp/scsi/c/88f1669019bd