Hi folks,

I have a small query about the following scenario:

1) A READ(10) request is received by the queuecommand routine of a custom scsi driver.
   This driver is pesudo ie. does not drive any hardware, only passes CDB's to, & fro.
2) This CDB is sent to a standard linux scsi driver like eg. sym53c8xx via the sg
   interface.
3) The response(the partition-table contents in this case) is shipped back.
4) A kernel thread at the custom driver calls scsi_done.

However, when the custom driver is unloaded immediately thereafter, 
scsi_unregister_host
fails partway reporting the SCSI device is ``not inactive''.

Why is there still a pending READ(10) in RQ_ACTIVE state despite step #4 above ?

Any help would be greatly appreciated.
Thank you, & regards,
- varun

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to