scsi_eh_prep_cmnd man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

SCSI_EH_PREP_CMND(9)		SCSI mid layer		  SCSI_EH_PREP_CMND(9)

NAME
       scsi_eh_prep_cmnd - Save a scsi command info as part of error recory

SYNOPSIS
       void scsi_eh_prep_cmnd(struct scsi_cmnd * scmd,
			      struct scsi_eh_save * ses, unsigned char * cmnd,
			      int cmnd_size, unsigned sense_bytes);

ARGUMENTS
       scmd
	   SCSI command structure to hijack

       ses
	   structure to save restore information

       cmnd
	   CDB to send. Can be NULL if no new cmnd is needed

       cmnd_size
	   size in bytes of cmnd (must be <= BLK_MAX_CDB)

       sense_bytes
	   size of sense data to copy. or 0 (if != 0 cmnd is ignored)

DESCRIPTION
       This function is used to save a scsi command information before
       re-execution as part of the error recovery process. If sense_bytes is 0
       the command sent must be one that does not transfer any data. If
       sense_bytes != 0 cmnd is ignored and this functions sets up a
       REQUEST_SENSE command and cmnd buffers to read sense_bytes into
       scmd->sense_buffer.

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

       Rob Landley <rob@landley.net>
	   Author.

COPYRIGHT
Kernel Hackers Manual 2.6.	 November 2013		  SCSI_EH_PREP_CMND(9)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net