HomeFreeBSD

MFC r345411: intpm: change translation of HBA error status to smbus(4) errors

Description

MFC r345411: intpm: change translation of HBA error status to smbus(4) errors

PIIX4_SMBHSTSTAT_ERR can be set for several reasons that, unfortunately,
cannot be distinguished, but the most typical case is a missing or hung
slave (SMB_ENOACK).

PIIX4_SMBHSTSTAT_FAIL means failed or killed / aborted transaction, so
it's previous mapping to SMB_ENOACK was not ideal.

After this change an smb(4) access to a missing slave results in ENXIO
rather than EIO. To me, that seems to be more appropriate.

Details

Committed
avgJun 6 2019, 11:38 AM
Parents
rS348733: MFC r344361: zpool.8: sort zpool status flags in the same order as in illumos…
Branches
Unknown
Tags
Unknown