On 2/6/20 3:44 AM, Oliver Neukum wrote:
I am looking at the queuecommand() mathod of the UAS low
level driver. What is a host adaptor driver to do when
it gets a scsi request for an unplugged host adapter?
All teh return values I see say that something is busy.
But I have the case that something is dead and gone.
Hi Oliver,
I think that the SCSI result has to be set to an appropriate error code,
that >scsi_done() has to be called and that queuecommand() has to return
0 (success) in this case. Examples can be found in virtscsi_complete_cmd().
Bart.