Re: [PATCH v3 1/2] scsi: sd: Add manage_restart device attribute to scsi_disk
From: Niklas Cassel
Date: Mon Oct 13 2025 - 03:45:53 EST
On Fri, Oct 10, 2025 at 10:38:34PM +0000, Markus Probst wrote:
> In addition to the already existing manage_shutdown,
> manage_system_start_stop and manage_runtime_start_stop device
> scsi_disk attributes, add manage_restart, which allows the high-level
> device driver (sd) to manage the device power state for SYSTEM_RESTART if set to 1.
The commit message explains what is done, but does not answer the question:
"why?"
I can read patch 2/2 and understand why, but considering that this is a patch
for SCSI and not ATA, I think that you need to provide some context here, so
that someone doing a git log drivers/scsi/ will actually have any idea of why
this was done.
Kind regards,
Niklas