HomeFreeBSD

Don't bother retrying errors for encrypted drives that are locked.

Description

Don't bother retrying errors for encrypted drives that are locked.

sys/cam/scsi/scsi_all.c:
In the asc_table, if we get a 0x20,0x02 error ("Access denied -
no access rights"), don't bother retrying. Instead, immediately
fail the command.

This is the error returned by Self Encrypting Drives (SED) when
they are locked.

MFC after: 3 days
Sponsored by: Spectra Logic

Details

Provenance
kenAuthored on
Parents
rS317744: makefs: make buf generic
Branches
Unknown
Tags
Unknown