SCSI_CHECK_SENSE(9)

NAME
scsi_check_sense - Examine scsi cmd sense

SYNOPSIS

int scsi_check_sense(struct scsi_cmnd * scmd);

ARGUMENTS

scmd
    Cmd to have sense checked.

DESCRIPTION

Return value: SUCCESS or FAILED or NEEDS_RETRY or ADD_TO_MLQUEUE

NOTES

When a deferred error is detected the current command has not been executed and needs retrying.

AUTHORS

James Bottomley <James.Bottomley@hansenpartnership.com>
    Author.

Rob Landley <rob@landley.net>
    Author.

COPYRIGHT