Tejun Heo wrote:
This patch implements scsi_eh_schedule_host() which provides a way to directly invoke SCSI EH without SCSI command from drivers implementing ->eh_strategy_handler. This allows such drivers to use EH to handle exception conditions which are not associated with particular SCSI command. Signed-off-by: Tejun Heo <htejun@xxxxxxxxx> --- Jeff, I think using separate variable (->host_eh_scheduled) is the simplest way to implement this. Adding more semantics to ->host_busy and failed doesn't sound very attractive to me.
ACK, I reviewed the existing uses of host_busy and host_error (not too many), and this should be OK.
However, I continue to be nervous being in the error handler when host_busy and host_error are zero.
Jeff - : 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