On 11/11/09 12:52, Hannes Reinecke wrote:
I still don't quite agree with the new scsi callback, which has
just the SCSIRequest as an argument. So when supporting more command
queueing we have no idea to which (internal) request structure
the SCSIRequest belongs, and still have to do a lookup.
Which is painful. Can we have a second 'void *arg' argument
to the callback which will allow us some driver specific
pointer?

How about sticking a 'void *hba_private' element into SCSIRequest instead?

cheers,
  Gerd



Reply via email to