kernel-ark/drivers
Albert Lee 21b1ed74ee [PATCH] libata: Prevent the interrupt handler from completing a command twice
Problem:
   During the libata CD-ROM stress test, sometimes the "BUG: timeout
without command" error is seen.

Root cause:
  Unexpected interrupt occurs after the ata_qc_complete() is called,
but before the SCSI error handler.  The interrupt handler is invoked
before the SCSI error handler, and it clears the command by calling
ata_qc_complete() again.  Later when the SCSI error handler is run,
the ata_queued_cmd is already gone, causing the "BUG: timeout without
command" error.

Changes:
  - Use the ATA_QCFLAG_ACTIVE flag to prevent the interrupt handler
from completing the command twice, before the scsi_error_handler.

Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
2005-05-15 18:46:59 -04:00
..
acorn
acpi
atm
base [PATCH] drivers/base/bus.c: fix iteration in driver_detach() 2005-05-04 23:44:38 -07:00
block [PATCH] drivers/block/rd.c: rd_size shouldn't be static 2005-05-06 16:58:18 -07:00
bluetooth
cdrom [PATCH] make some things static 2005-05-05 16:36:47 -07:00
char [PATCH] make some things static 2005-05-05 16:36:47 -07:00
cpufreq [PATCH] cpufreq annoying warning fix 2005-05-02 08:15:22 -07:00
crypto
dio
eisa
fc4
firmware
i2c
ide [PATCH] drivers/ide/pci/sis5513.c: section fixes 2005-05-05 16:36:41 -07:00
ieee1394
infiniband
input
isdn
macintosh [PATCH] ppc32: Fix might_sleep() warning with clock spreading 2005-05-02 08:15:22 -07:00
mca
md [PATCH] make some things static 2005-05-05 16:36:47 -07:00
media [PATCH] video/tuner: add VIDEO_G_FREQUENCY and freq range to VIDIOC_G_TUNER 2005-05-06 22:09:28 -07:00
message
misc
mmc [PATCH] ISA DMA Kconfig fixes - part 3 2005-05-04 07:33:14 -07:00
mtd
net [PATCH] update Ross Biro bouncing email address 2005-05-05 16:36:49 -07:00
nubus
oprofile
parisc
parport [PATCH] ISA_DMA Kconfig fixes - part 2 (parport_pc) 2005-05-04 07:33:13 -07:00
pci [PATCH] PCI: drivers/pci/pci.c: remove pci_dac_set_dma_mask 2005-05-03 23:45:17 -07:00
pcmcia [PATCH] pcmcia: yenta TI: align irq of func1 to func0 if INTRTIE is set 2005-05-05 16:36:43 -07:00
pnp
s390 Automatic merge of rsync://www.parisc-linux.org/~jejb/git/scsi-for-linus-2.6.git 2005-05-06 16:46:40 -07:00
sbus
scsi [PATCH] libata: Prevent the interrupt handler from completing a command twice 2005-05-15 18:46:59 -04:00
serial [PATCH] 8250_pci.c: add comment about enum sorting order 2005-05-06 10:19:09 +01:00
sh
sn
tc
telephony [PATCH] ixj* - compile warning cleanup 2005-05-05 16:36:48 -07:00
usb [PATCH] USB cypress_m8: update kernel driver with current source 2005-05-03 23:31:52 -07:00
video [PATCH] make some things static 2005-05-05 16:36:47 -07:00
w1
zorro
Kconfig
Makefile