I did not notice anyone reply so here goes.  In scsi_unjam_host() after it 
tries to abort all of the commands it checks to see if there is anything still 
having problems (host_failed not equal to zero).  If so then it will call the 
Bus Device Reset code.  So rather than having the abort function determine if 
it should execute stronger measures it lets the calling routine decide what to 
do with the failure.

Eddie
> Hi List,
> 
> I was looking at scsi_error.c In the scsi_unjam_host(),
> we call scsi_try_to_abort_command() which calls eh_abort_handler(),
> now, if somehow the lowlevel driver cannot abort the command
> successfully, then it can return FAILED status. Well, in scsi_unjam_host()
> there is a case for doing certain things when the status is SUCCESS,
> but there is nothing for FAILED status returned by eh_abort_handler().
> Shouldn't there be something like device-reset or bus-reset ?
> 
> Regards,
> -hiren
> [EMAIL PROTECTED]
> -
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to [EMAIL PROTECTED]


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

Reply via email to