Re: [PATCH v1 2/9] scsi: define depopulation capabilities related service actions

Hannes Reinecke <[email protected]> Mon, 13 Jul 2026 11:31:04 +0200
Newsgroups org.kernel.vger.linux-ide,org.kernel.vger.linux-scsi
Message-ID <[email protected]>
On 7/6/26 8:56 AM, Damien Le Moal wrote:
> Add to include/scsi/scsi_proto.h the definition of the four service
> actions of the SERVICE ACTION IN (16) command for the storage element
> depopulation and restoration capabilities, as defined in the SBC5 and
> ZBC2 specifications. These are:
>   - SAI_GET_PHYSICAL_ELEMENT_STATUS (GET PHYSICAL ELEMENT STATUS command)
>   - SAI_REMOVE_ELEMENT_AND_TRUNCATE (REMOVE ELEMENT AND TRUNCATE command)
>   - SAI_RESTORE_ELEMENTS_AND_REBUILD (RESTORE ELEMENTS AND REBUILD command)
>   - SAI_REMOVE_ELEMENT_AND_MODIFY_ZONES (REMOVE ELEMENT AND MODIFY ZONES
>     command)
> 
> The physical element types and physical element health values reported by
> the GET PHYSICAL ELEMENT STATUS command are also defined.
> 
> Signed-off-by: Damien Le Moal <[email protected]>
> ---
>   include/scsi/scsi_proto.h | 23 +++++++++++++++++++++++
>   1 file changed, 23 insertions(+)
> 
Reviewed-by: Hannes Reinecke <[email protected]>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                  Kernel Storage Architect
[email protected]                                +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich