Skip to content

Commit 2684cad

Browse files
authored
Merge pull request #569 from ikegami-t/dst
types: Add abort self-test code value definition
2 parents eecc240 + 320a448 commit 2684cad

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/nvme/types.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2915,6 +2915,7 @@ enum nvme_status_result {
29152915
* @NVME_ST_CODE_SHORT: Short device self-test operation.
29162916
* @NVME_ST_CODE_EXTENDED: Extended device self-test operation.
29172917
* @NVME_ST_CODE_VS: Vendor specific.
2918+
* @NVME_ST_CODE_ABORT: Abort device self-test operation.
29182919
* @NVME_ST_CODE_SHIFT: Shift amount to get the code value from the
29192920
* &struct nvme_st_result.dsts field.
29202921
*/
@@ -2923,6 +2924,7 @@ enum nvme_st_code {
29232924
NVME_ST_CODE_SHORT = 0x1,
29242925
NVME_ST_CODE_EXTENDED = 0x2,
29252926
NVME_ST_CODE_VS = 0xe,
2927+
NVME_ST_CODE_ABORT = 0xf,
29262928
NVME_ST_CODE_SHIFT = 4,
29272929
};
29282930

0 commit comments

Comments
 (0)