kernel-ark/drivers
NeilBrown 7c785b7a18 [PATCH] md: fix a plug/unplug race in raid5
When a device is unplugged, requests are moved from one or two (depending on
whether a bitmap is in use) queues to the main request queue.

So whenever requests are put on either of those queues, we should make sure
the raid5 array is 'plugged'.  However we don't.  We currently plug the raid5
queue just before putting requests on queues, so there is room for a race.  If
something unplugs the queue at just the wrong time, requests will be left on
the queue and nothing will want to unplug them.  Normally something else will
plug and unplug the queue fairly soon, but there is a risk that nothing will.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-07-10 13:24:16 -07:00
..
acorn
acpi Revert "ACPI: dock driver" 2006-07-09 08:47:46 -07:00
amba
atm [ATM]: Typo in drivers/atm/Kconfig... 2006-07-08 13:30:09 -07:00
base [PATCH] don't select CONFIG_HOTPLUG 2006-07-10 13:24:12 -07:00
block
bluetooth [PATCH] release_firmware() fixes 2006-07-10 13:24:15 -07:00
cdrom [PATCH] cdrom: fix bad cgc.buflen assignment 2006-07-10 13:24:15 -07:00
char [PATCH] Add Specialix IO8+ card support hotplug support 2006-07-10 13:24:13 -07:00
clocksource
connector
cpufreq [PATCH] Fix cpufreq vs hotplug lockdep recursion. 2006-07-07 09:46:45 -07:00
crypto
dio
dma
edac
eisa
fc4
firmware
hwmon
i2c
ide
ieee1394
infiniband
input
isdn [PATCH] hisax: fix usage of __init* 2006-07-10 13:24:15 -07:00
leds
macintosh
mca
md [PATCH] md: fix a plug/unplug race in raid5 2006-07-10 13:24:16 -07:00
media [PATCH] release_firmware() fixes 2006-07-10 13:24:15 -07:00
message
mfd
misc
mmc
mtd
net [PATCH] release_firmware() fixes 2006-07-10 13:24:15 -07:00
nubus
oprofile
parisc
parport
pci [PATCH] don't select CONFIG_HOTPLUG 2006-07-10 13:24:12 -07:00
pcmcia [PATCH] don't select CONFIG_HOTPLUG 2006-07-10 13:24:12 -07:00
pnp
rapidio
rtc
s390 [NET] gso: Add skb_is_gso 2006-07-08 13:34:32 -07:00
sbus
scsi [PATCH] ahci: Ensure that we don't grab both functions 2006-07-05 22:58:20 -04:00
serial
sh
sn
spi
tc
telephony
usb
video [PATCH] tty: Remove include of screen_info.h from tty.h 2006-07-10 13:24:16 -07:00
w1
zorro
Kconfig
Makefile