Hi All,

I was looking at the scsi_error.c and in particular at the scsi_unjam_host()
routine. It calls scsi_try_to_abort_command which calls eh_abort_handler()
routine of the hba driver. We are passing timeout to the 
scsi_try_to_abort_command(). But we don't seem to making use of it. 
Shouldn't scsi_try_to_abort_command() spawn a timer for the specified
timeout and then wait for the completion of the abort operation 
instead of depending on the return value of the eh_abort_handler() ?
The reason is because, aborting a command can be an asynchronous
operation in the sense that, the eh_abort_handler() routine will
send an abort to the device and then the abort will be completed
through interrupt. 

Any input on this ?

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

Reply via email to