<Exactly.  Some controllers know, and assert events up to their LLDD.
<Jame's Emulex driver apparently does, perhaps this holds true for all
<FC devices.

<Some firmwares (LSI megaraid for sure, Adaptec SCSI I believe) don't.

Thank you, Matt. Then I have another question:
As we know SCSI mid-layer issue a command to LLDD by 
host->hostt->queuecommand(cmd, scsi_done); and in the meantime a 
timer is set. When the timer expires, SCSI mid-layer know the 
execution of command has failed.
My question is: when SCSI device is surprise-removed, if SCSI mid-layer
issue a command to this removed device, will mid-layer has to wait 
a timeout before it can know the execution of command failed? Or is
there
any other mechanism that LLDD can notify mid-layer that execution of
command failed without waiting for a timeout?

Thanks,
Forrest
-
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