SysTutorials

Linux Manual Pages › Section 9

scsi_check_sense(9)

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 [at] hansenpartnership.com>

Author.

Rob Landley <rob [at] landley.net>

Author.

Copyright