Skip to content

ATA support for storage element management commands

Damien Le Moal linux-ide linux-scsi 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9scsi: scsi_debug: move ASC and ASCQ definitions to scsi_proto.hdrivers/scsi/scsi_debug.c include/scsi/scsi_proto.h+51 -464 replies
2/9scsi: define depopulation capabilities related service actionsinclude/scsi/scsi_proto.h+23 -01 reply
3/9ata: libata: improve the definition of device flagsinclude/linux/libata.h+45 -401 reply
4/9ata: libata-scsi: improve ata_get_xlat_funcdrivers/ata/libata-scsi.c+8 -61 reply
5/9ata: libata-core: detect support for depopulation capabilitiesdrivers/ata/libata-core.c include/linux/libata.h+96 -221 reply
6/9ata: libata-scsi: add support for the GET PHYSICAL ELEMENT STATUS commanddrivers/ata/libata-scsi.c include/linux/ata.h+142 -01 reply
7/9ata: libata-scsi: add support for the REMOVE ELEMENT AND TRUNCATE commanddrivers/ata/libata-scsi.c include/linux/ata.h+74 -01 reply
8/9ata: libata-scsi: add support for the RESTORE ELEMENTS AND REBUILD commanddrivers/ata/libata-scsi.c include/linux/ata.h+36 -21 reply
9/9ata: libata-scsi: add support for the REMOVE ELEMENT AND MODIFY ZONES commanddrivers/ata/libata-scsi.c include/linux/ata.h+40 -01 reply

Reviews trailers per patch

7 of 9 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMartin K. PetersenHannes Reinecke
SeriesR-b
1/9
2/9R-b
3/9
4/9R-b
5/9R-b
6/9R-b
7/9R-b
8/9R-b
9/9R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/9] ATA support for storage element management commands

This patch series adds support to libata for translating all storage element management commands:
- GET PHYSICAL ELEMENT STATUS
- REMOVE ELEMENT AND TRUNCATE
- RESTORE ELEMENTS AND REBUILD
- REMOVE ELEMENT AND MODIFY ZONES

The first 2 patches add definitions to scsi_proto.h related to the depopulation feature. The remaining patches modify libata to detect support for this feature and add command translation support.

Martin,

I have more patches for sd and scsi_debug (depop emulation) that depend on patch 1 & 2. So I am not sure how we should handle this series. Maybe we should create a "depop" topic branch in the scsi or libata tree ? I am open to suggestions.

Damien Le Moal (9):
scsi: scsi_debug: move ASC and ASCQ definitions to scsi_proto.h
scsi: define depopulation capabilities related service actions
ata: libata: improve the definition of device flags
ata: libata-scsi: improve ata_get_xlat_func
ata: libata-core: detect support for depopulation capabilities
ata: libata-scsi: add support for the GET PHYSICAL ELEMENT STATUS
command
ata: libata-scsi: add support for the REMOVE ELEMENT AND TRUNCATE
command
ata: libata-scsi: add support for the RESTORE ELEMENTS AND REBUILD
command
ata: libata-scsi: add support for the REMOVE ELEMENT AND MODIFY ZONES
command

 drivers/ata/libata-core.c |  73 +++++++++-
 drivers/ata/libata-scsi.c | 300 +++++++++++++++++++++++++++++++++++++-
 drivers/scsi/scsi_debug.c |  46 ------
 include/linux/ata.h       |   4 +
 include/linux/libata.h    |  90 +++++++-----
 include/scsi/scsi_proto.h |  74 ++++++++++
 6 files changed, 493 insertions(+), 94 deletions(-)
Signature · 1 line
2.54.0