Re: [PATCH v1 9/9] ata: libata-scsi: add support for the REMOVE ELEMENT AND MODIFY ZONES command
Hannes Reinecke <[email protected]> Mon, 13 Jul 2026 11:40:05 +0200
| Newsgroups | gmane.linux.scsi,gmane.linux.ide |
|---|---|
| Message-ID | <[email protected]> |
On 7/6/26 8:56 AM, Damien Le Moal wrote: > Define the translation for the REMOVE ELEMENT AND MODIFY ZONES command > (SERVICE ACTION IN command with service action > SAI_REMOVE_ELEMENT_AND_MODIFY_ZONES) into the ATA command > ATA_CMD_REMOVE_ELEMENT_AND_MODIFY_ZONES with the new function > ata_scsi_remove_element_and_modify_zones_xlat() > > The array of supported commands ata_supported_cmds is modified to add a > new entry for this command. ata_scsi_cmd_is_supported() is also modify to > correctly handle this new entry depending on the target device flag > ATA_DFLAG_DEPOP being set, and the target device being a ZAC zoned device. > > Signed-off-by: Damien Le Moal <[email protected]> > --- > drivers/ata/libata-scsi.c | 39 +++++++++++++++++++++++++++++++++++++++ > include/linux/ata.h | 1 + > 2 files changed, 40 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