Scroll to navigation

I2O_SCSI_REPLY(9) Message-based devices I2O_SCSI_REPLY(9)

NAME

i2o_scsi_reply - SCSI OSM message reply handler

SYNOPSIS

int i2o_scsi_reply(struct i2o_controller * c, u32 m, struct i2o_message * msg);

ARGUMENTS

c

controller issuing the reply

m

message id for flushing

msg

the message from the controller

DESCRIPTION

Process reply messages (interrupts in normal scsi controller think). We can get a variety of messages to process. The normal path is scsi command completions. We must also deal with IOP failures, the reply to a bus reset and the reply to a LUN query.

Returns 0 on success and if the reply should not be flushed or > 0 on success and if the reply should be flushed. Returns negative error code on failure and if the reply should be flushed.

COPYRIGHT

May 2024 Kernel Hackers Manual 2.6.