失败结果:hostbyte=DID_SOFT_ERROR driverbyte=DRIVER_OK

失败结果:hostbyte=DID_SOFT_ERROR driverbyte=DRIVER_OK

DID_SOFT_ERROR 是什么意思?

根据内核源码,它定义了:

#define DID_SOFT_ERROR  0x0b    /* The low level driver just wish a retry  */

https://github.com/torvalds/linux/blob/6cdc577a18a616c331f57e268c97466171cfc45f/include/scsi/scsi.h#L147

    case SAS_QUEUE_FULL:
        hs = DID_SOFT_ERROR; /* retry */
        break;

https://github.com/torvalds/linux/blob/c6dd78fcb8eefa15dd861889e0f59d301cb5230c/drivers/scsi/libsas/sas_scsi_host.c#L63

这是否意味着 SAS HDD 的内部队列已满导致此错误?

相关内容