Re: [PATCH 2/2] SCSI: implement scsi_eh_schedule_host()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux