Hi, Hannes: On 05/24/2013 05:50 PM, Hannes Reinecke wrote:
this is the first step towards a new FC error handler. This patch implements a new FC command timeout handler which will be sending command aborts inline without engaging SCSI EH. In addition the commands will be returned directly if the command abort succeeded, cutting down recovery times dramatically.
To the commands which can be aborted successfully, I guess your patchset has solved the problem "the error handler can't even be called until host_failed == host_busy", because it needn't to wait for the scheduling of EH threads(without engaging SCSI EH as you said) now, right?
For any other return code from 'eh_abort_handler' the command will be pushed onto the existing SCSI EH handler, or aborted with an error if that fails.
To the commands which can NOT be aborted successfully, there is not any improvements for the SCSI EH will be invoked as usual. But should we consider the repetitive/time-consuming issue for the commands will be tried to abort again in the SCSI EH handler? Thanks, Ren -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html