linux/drivers
Darrick J. Wong b218a0d8e2 [SCSI] libsas: Don't give scsi_cmnds to the EH if they never made it to the SAS LLDD or have already returned
On a system with many SAS targets, it appears possible that a scsi_cmnd
can time out without ever making it to the SAS LLDD or at the same time
that a completion is occurring.  In both of these cases, telling the
LLDD to abort the sas_task makes no sense because the LLDD won't know
about the sas_task; what we really want to do is to increase the timer.
Note that this involves creating another sas_task bit to indicate
whether or not the task has been sent to the LLDD; I could have
implemented this by slightly redefining SAS_TASK_STATE_PENDING, but
this way seems cleaner.

This second version amends the aic94xx portion to set the
TASK_AT_INITIATOR flag for all sas_tasks that were passed to
lldd_execute_task.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2007-01-13 16:12:39 -06:00
..
acorn
acpi Revert "ACPI: ibm-acpi: make non-generic bay support optional" 2007-01-11 02:58:15 -05:00
amba
ata [PATCH] hpt37x: Two important bug fixes 2007-01-05 23:55:29 -08:00
atm
base
block [PATCH] Fix BUG at drivers/scsi/scsi_lib.c:1118 caused by "pktsetup dvd /dev/sr0" 2007-01-05 23:55:22 -08:00
bluetooth [Bluetooth] Correct SCO buffer for Broadcom based Dell laptops 2007-01-09 00:29:59 -08:00
cdrom
char Merge branch 'drm-patches' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 2007-01-11 18:25:20 -08:00
clocksource
connector [PATCH] connector: some fixes for ia64 unaligned access errors 2007-01-05 23:55:29 -08:00
cpufreq
crypto
dio
dma
edac
eisa
fc4
firmware
hid HID: Fix DRIVER_DESC macro 2007-01-09 13:24:25 +01:00
hwmon
i2c i2c/m41t00: Do not forget to write year 2007-01-05 17:54:05 +01:00
ide [PATCH] atiixp: Old drivers/ide layer driver for the ATIIXP hang fix 2007-01-05 23:55:22 -08:00
ieee1394 ieee1394: sbp2: fix probing of some DVD-ROM/RWs 2007-01-10 20:24:42 +01:00
infiniband IB/mthca: Don't execute QUERY_QP firmware command for QP in RESET state 2007-01-09 14:14:28 -08:00
input
isdn
kvm [PATCH] KVM: add VM-exit profiling 2007-01-11 18:18:21 -08:00
leds [PATCH] Fix leds-s3c24xx hardware.h reference 2007-01-05 23:55:21 -08:00
macintosh [PATCH] Fix implicit declarations in via-pmu 2007-01-05 23:55:21 -08:00
mca
md [PATCH] md: pass down BIO_RW_SYNC in raid{1,10} 2007-01-11 18:18:21 -08:00
media
message [SCSI] mptctl for mptsas 2007-01-13 13:51:31 -06:00
mfd
misc
mmc Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc 2007-01-10 15:55:10 -08:00
mtd
net [PATCH] PCMCIA: fix drivers broken by recent cleanup 2007-01-11 18:24:39 -08:00
nubus
oprofile
parisc
parport
pci [PATCH] increment pos before looking for the next cap in __pci_find_next_ht_cap 2007-01-11 18:18:20 -08:00
pcmcia
pnp
ps3
rapidio
rtc [PATCH] rtc-sh: correctly report rtc_wkalrm.enabled 2007-01-11 18:18:20 -08:00
s390 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 2007-01-09 09:36:06 -08:00
sbus
scsi [SCSI] libsas: Don't give scsi_cmnds to the EH if they never made it to the SAS LLDD or have already returned 2007-01-13 16:12:39 -06:00
serial [PATCH] x86-64: modpost add more symbols to whitelist pattern2 2007-01-11 01:52:44 +01:00
sh
sn
spi
tc
telephony
usb [PATCH] really fix funsoft driver 2007-01-11 18:18:21 -08:00
video
w1
zorro
Kconfig
Makefile