[PATCH] move ->eh_strategy_handler to the transport class
authorChristoph Hellwig <hch@lst.de>
Sat, 1 Apr 2006 17:21:04 +0000 (19:21 +0200)
committerJeff Garzik <jeff@garzik.org>
Mon, 10 Apr 2006 18:15:47 +0000 (14:15 -0400)
commit9227c33de80ac01f269ed33624990ce84358e419
tree7678d342949db011d37e15516c3eaa22ec32ff2a
parent676165a8af7167f488abdcce6851a9bc36e83254
[PATCH] move ->eh_strategy_handler to the transport class

Overriding the whole EH code is a per-transport, not per-host thing.
Move ->eh_strategy_handler to the transport class, same as
->eh_timed_out.

Downside is that scsi_host_alloc can't check for the total lack of EH
anymore, but the transition period from old EH where we needed it is
long gone already.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
26 files changed:
Documentation/DocBook/libata.tmpl
Documentation/scsi/scsi_eh.txt
Documentation/scsi/scsi_mid_low_api.txt
drivers/scsi/ahci.c
drivers/scsi/ata_piix.c
drivers/scsi/hosts.c
drivers/scsi/libata-core.c
drivers/scsi/libata-scsi.c
drivers/scsi/libata.h
drivers/scsi/pdc_adma.c
drivers/scsi/sata_mv.c
drivers/scsi/sata_nv.c
drivers/scsi/sata_promise.c
drivers/scsi/sata_qstor.c
drivers/scsi/sata_sil.c
drivers/scsi/sata_sil24.c
drivers/scsi/sata_sis.c
drivers/scsi/sata_svw.c
drivers/scsi/sata_sx4.c
drivers/scsi/sata_uli.c
drivers/scsi/sata_via.c
drivers/scsi/sata_vsc.c
drivers/scsi/scsi_error.c
include/linux/libata.h
include/scsi/scsi_host.h
include/scsi/scsi_transport.h