ENUM SCI_IO_STATUS(9)
π NAME π
okay so bestie, this is enum sci_io_status(9) from the Kernel API Manual β¨ and itβs the enum that holds all the possible IO completion status values. The way that every value in this enumeration maps directly 1:1 to a value in the enum sci_status enumeration is lowkey iconic β so if you want the detailed comments about what a status actually represents, please refer to that enumeration. Periodt π
β¨ SYNOPSIS β¨
enum sci_io_status {
SCI_IO_SUCCESS ,
SCI_IO_FAILURE ,
SCI_IO_SUCCESS_COMPLETE_BEFORE_START ,
SCI_IO_SUCCESS_IO_DONE_EARLY ,
SCI_IO_FAILURE_INVALID_STATE ,
SCI_IO_FAILURE_INSUFFICIENT_RESOURCES ,
SCI_IO_FAILURE_UNSUPPORTED_PROTOCOL ,
SCI_IO_FAILURE_RESPONSE_VALID ,
SCI_IO_FAILURE_CONTROLLER_SPECIFIC_ERR ,
SCI_IO_FAILURE_TERMINATED ,
SCI_IO_FAILURE_REQUIRES_SCSI_ABORT ,
SCI_IO_FAILURE_INVALID_PARAMETER_VALUE ,
SCI_IO_FAILURE_NO_NCQ_TAG_AVAILABLE ,
SCI_IO_FAILURE_PROTOCOL_VIOLATION ,
SCI_IO_FAILURE_REMOTE_DEVICE_RESET_REQUIRED ,
SCI_IO_FAILURE_RETRY_REQUIRED ,
SCI_IO_FAILURE_RETRY_LIMIT_REACHED ,
SCI_IO_FAILURE_INVALID_REMOTE_DEVICE
};
π Constants π
vibe check: every single constant below is listed in the source as -- undescribed -- π no cap, thatβs genuinely all it says. Slay transparency.
SCI_IO_SUCCESSβ-- undescribed --π«SCI_IO_FAILUREβ-- undescribed --π«SCI_IO_SUCCESS_COMPLETE_BEFORE_STARTβ-- undescribed --π«SCI_IO_SUCCESS_IO_DONE_EARLYβ-- undescribed --π«SCI_IO_FAILURE_INVALID_STATEβ-- undescribed --π«SCI_IO_FAILURE_INSUFFICIENT_RESOURCESβ-- undescribed --π«SCI_IO_FAILURE_UNSUPPORTED_PROTOCOLβ-- undescribed --π«SCI_IO_FAILURE_RESPONSE_VALIDβ-- undescribed --π«SCI_IO_FAILURE_CONTROLLER_SPECIFIC_ERRβ-- undescribed --π«SCI_IO_FAILURE_TERMINATEDβ-- undescribed --π«SCI_IO_FAILURE_REQUIRES_SCSI_ABORTβ-- undescribed --π«SCI_IO_FAILURE_INVALID_PARAMETER_VALUEβ-- undescribed --π«SCI_IO_FAILURE_NO_NCQ_TAG_AVAILABLEβ-- undescribed --π«SCI_IO_FAILURE_PROTOCOL_VIOLATIONβ-- undescribed --π«SCI_IO_FAILURE_REMOTE_DEVICE_RESET_REQUIREDβ-- undescribed --π«SCI_IO_FAILURE_RETRY_REQUIREDβ-- undescribed --π«SCI_IO_FAILURE_RETRY_LIMIT_REACHEDβ-- undescribed --π«SCI_IO_FAILURE_INVALID_REMOTE_DEVICEβ-- undescribed --π«
πΈ Description πΈ
The Description section is giving βadd this APIβ todo-note energy, ngl: it says to add the API that retrieves the SCU status from the core π«‘ Then it says to check that the following status are properly handled β and yes, both items are coming at you exactly:
SCI_IO_FAILURE_UNSUPPORTED_PROTOCOLSCI_IO_FAILURE_INVALID_IO_TAG
π₯ SEE ALSO π₯
- Kernel file
./drivers/scsi/isci/isci.h;enum sci_status(9),enum sci_task_status(9),sci_swab32_cpy(9)β the whole reference squad, fr fr π«Ά iykyk
cute sign-off: this page came from the source/version ./drivers/scsi/isci, dated October 2026, and its title is enum sci_io_status(9) π May your IO completions be SCI_IO_SUCCESS and your vibes be immaculate πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms