]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] isci: remove bus and reset handlers
authorDan Williams <dan.j.williams@intel.com>
Thu, 8 Dec 2011 08:37:25 +0000 (00:37 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 29 Feb 2012 21:16:05 +0000 (15:16 -0600)
commit613399eb566160c97525de9df5bf99bb6a3c6712
tree669d2569b29f930d2eeb895b2cc81e22e2878472
parentfbbcec2f4326e069c9f5244e0a8a44c8b338b558
[SCSI] isci: remove bus and reset handlers

Remove ->eh_device_reset_handler() and ->eh_bus_reset_handler() for the
same reason they are not implemented for libata hosts, they cannot be
implemented reliably with ata-eh.  ATA error recovery wants to divert
all resets to the eh thread and wait for completion, these handlers may
be invoked from a non-blocking ioctl.

The other path they are called from is libsas-eh, and if we escalate
past I_T_nexus reset we have larger problems i.e. tear down all
in-flight commands in the domain potentially without notification to the
lldd if it has chosen not to implement ->lldd_clear_nexus_port() /
->lldd_clear_nexus_ha().

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/isci/init.c
drivers/scsi/isci/task.c
drivers/scsi/isci/task.h