mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-29 17:25:38 +00:00
scsi: core: Remove useless host error codes
The host codes that were supposed to only be used for internal use are now not used, so remove them. Link: https://lore.kernel.org/r/20220812010027.8251-11-michael.christie@oracle.com Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Mike Christie <michael.christie@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
7dfaae6ac1
commit
68a3a9102a
@ -62,12 +62,12 @@ enum scsi_host_status {
|
|||||||
* recover the link. Transport class will
|
* recover the link. Transport class will
|
||||||
* retry or fail IO */
|
* retry or fail IO */
|
||||||
DID_TRANSPORT_FAILFAST = 0x0f, /* Transport class fastfailed the io */
|
DID_TRANSPORT_FAILFAST = 0x0f, /* Transport class fastfailed the io */
|
||||||
DID_TARGET_FAILURE = 0x10, /* Permanent target failure, do not retry on
|
/*
|
||||||
* other paths */
|
* We used to have DID_TARGET_FAILURE, DID_NEXUS_FAILURE,
|
||||||
DID_NEXUS_FAILURE = 0x11, /* Permanent nexus failure, retry on other
|
* DID_ALLOC_FAILURE and DID_MEDIUM_ERROR at 0x10 - 0x13. For compat
|
||||||
* paths might yield different results */
|
* with userspace apps that parse the host byte for SG IO, we leave
|
||||||
DID_ALLOC_FAILURE = 0x12, /* Space allocation on the device failed */
|
* that block of codes unused and start at 0x14 below.
|
||||||
DID_MEDIUM_ERROR = 0x13, /* Medium error */
|
*/
|
||||||
DID_TRANSPORT_MARGINAL = 0x14, /* Transport marginal errors */
|
DID_TRANSPORT_MARGINAL = 0x14, /* Transport marginal errors */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user