i2o_scsi_queuecommand(9)

i2o_scsi_queuecommand9

Queue a scsi command

Usage

int i2o_scsi_queuecommand(struct scsi_cmnd * SCpnt, void (*done) (struct scsi_cmnd *));

Arguments

SCpnt

scsi command pointer

done

callback for completion

Overview

Issue a scsi command asynchronously. Return 0 on success or 1 if we hit an error (normally message queue congestion). The only minor complication here is that I2O deals with the device addressing so we have to map the bus/dev/lun back to an I2O handle as well as faking absent devices ourself.

Locks

takes the controller lock on error path only

Releases

3 releases since Debian 4.0 (Etch); the text changed 2 times.

  1. 4.0
  2. 5.0
  3. 6.0

From linux-manual-2.6.32 2.6.32-48squeeze6 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.