Re: [PATCH v3] scsi: sd: fix sd shutdown to issue START STOP UNIT command appropriately

From: Martin K. Petersen
Date: Fri Jul 25 2025 - 09:06:56 EST



Salomon,

> Commit aa3998dbeb3a ("ata: libata-scsi: Disable scsi device
> manage_system_start_stop") enabled libata EH to manage device power
> mode trasitions for system suspend/resume and removed the flag from
> ata_scsi_dev_config. However, since the sd_shutdown() function still
> relies on the manage_system_start_stop flag, a spin-down command is
> not issued to the disk with command "echo 1 >
> /sys/block/sdb/device/delete"

Applied to 6.17/scsi-staging, thanks!

--
Martin K. Petersen