scsi_check_sense(9)

scsi_check_sense9

Examine scsi cmd sense

Usage

int scsi_check_sense(struct scsi_cmnd * scmd);

Arguments

scmd

Cmd to have sense checked.

Overview

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 <[email protected]>

Author.

Rob Landley <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.