James Bottomley wrote:
> On Sun, 2007-03-04 at 00:36 -0700, Dachepalli, Sudhir wrote:
>> Our driver gets called in with the following fashion through the
>> queuecommand.
>>
>> scsi_request_fn() -> scsi_dispatch_cmd() -> rtn =
>> host->hostt->queuecommand(cmd, scsi_done);
>>
>> We are using the "cmd" ( scsi_cmnd) as a pass through with out touching
>> the "request_buffer" and "request_bufflen".
>>
>> We do not allocate memory similar to sg or st for page allocations.
>>
>> The request_buffer should already contain the scatter gather list built.
> 
> We're trying not to wrapper pass throughs in SCSI commands (unless
> defined by standard like the ATA ones).  However, I'm not entirely sure
> what you're trying to do ... can you post a link to the driver so that
> we can see if there's a better way?
> 

There are trying to do a scsi level multipath driver for RDAC support.
And they are trying to do something similar to request based multipath
(route requests instead of bios but in their case they are routing
scsi_cmnds instead of requests).
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to