Archived
14
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/drivers/block
Tejun Heo 0191944282 hd: fix locking
hd dance around local irq and HD_IRQ enable without achieving much.
It ends up transferring data from irq handler with both local irq and
HD_IRQ disabled.  The only place it actually does something is while
transferring the first block of a request which it does with HD_IRQ
disabled but local irq enabled.

Unfortunately, the dancing is horribly broken from locking POV.  IRQ
and timeout handlers access block queue without grabbing the queue
lock and running the driver in SMP configuration crashes the whole
machine pretty quickly.

Remove meaningless irq enable/disable dancing and add proper locking
in issue, irq and timeout paths.

Signed-off-by: Tejun Heo <tj@kernel.org>
2009-04-28 20:24:20 +02:00
..
aoe
paride
amiflop.c
ataflop.c
brd.c brd: fix cacheflushing 2009-04-15 12:10:13 +02:00
cciss.c Replace all DMA_nBIT_MASK macro with DMA_BIT_MASK(n) 2009-04-13 15:04:33 -07:00
cciss.h cciss: kernel scan thread for MSA2012 2009-04-07 08:12:38 +02:00
cciss_cmd.h cciss: kernel scan thread for MSA2012 2009-04-07 08:12:38 +02:00
cciss_scsi.c
cciss_scsi.h
cpqarray.c
cpqarray.h
cryptoloop.c
DAC960.c dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00
DAC960.h
floppy.c
hd.c hd: fix locking 2009-04-28 20:24:20 +02:00
ida_cmd.h
ida_ioctl.h
Kconfig mflash: initial support 2009-04-07 08:12:38 +02:00
loop.c loop: mutex already unlocked in loop_clr_fd() 2009-04-07 13:48:21 +02:00
Makefile mflash: initial support 2009-04-07 08:12:38 +02:00
mg_disk.c mg_disk: fix CONFIG_LBD=y warning 2009-04-28 20:24:20 +02:00
nbd.c
pktcdvd.c
ps3disk.c
ps3vram.c
smart1,2.h
sunvdc.c
swim.c
swim3.c
swim_asm.S
sx8.c dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00
ub.c USB: add reset endpoint operations 2009-04-17 10:50:27 -07:00
umem.c umem: fix request_queue lock warning 2009-04-24 08:54:21 +02:00
umem.h
viodasd.c
virtio_blk.c
xd.c
xd.h
xen-blkfront.c
xsysace.c xsysace: Fix dereferencing of cf_id after hd_driveid removal 2009-04-08 14:13:04 +02:00
z2ram.c