Tejun Heo
7eec77a181
ide: unexport DISK_EVENT_MEDIA_CHANGE for ide-gd and ide-cd
...
check_events() implementations in both ide-gd and ide-cd are
inadequate for in-kernel event polling. Both generate media change
events continuously when certain conditions are met causing infinite
event loop between the driver and userland event handler.
As disk event now supports suppression of unlisted events, simply
de-listing DISK_EVENT_MEDIA_CHANGE from disk->events resolves the
problem. Internal handling around media revalidation will behave the
same while userland will fall back to userland event polling after
detecting the device doesn't support disk events.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Jens Axboe <jaxboe@fusionio.com>
Acked-by: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
2011-04-21 19:43:59 +02:00
..
aec62xx.c
ali14xx.c
alim15x3.c
amd74xx.c
at91_ide.c
atiixp.c
au1xxx-ide.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide-next-2.6
2010-03-04 08:24:06 -08:00
buddha.c
cmd64x.c
cmd640.c
cmd640: fix kernel oops in test_irq() method
2010-05-11 00:08:03 -07:00
cs5520.c
cs5530.c
cs5535.c
cs5536.c
cy82c693.c
Fix common misspellings
2011-03-31 11:26:23 -03:00
delkin_cb.c
dtc2278.c
falconide.c
gayle.c
m68k: amiga - Amiga Gayle IDE platform device conversion
2010-05-26 19:51:09 +02:00
hpt366.c
hpt366: fix clock turnaround
2010-10-26 10:17:29 -07:00
ht6560b.c
Update broken web addresses in the kernel.
2010-10-18 11:03:14 +02:00
icside.c
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ide-2.6
2010-03-02 23:57:59 -08:00
ide-4drives.c
ide-acpi.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
ide-atapi.c
block: remove per-queue plugging
2011-03-10 08:52:07 +01:00
ide-cd.c
ide: unexport DISK_EVENT_MEDIA_CHANGE for ide-gd and ide-cd
2011-04-21 19:43:59 +02:00
ide-cd.h
ide: Convert to bdops->check_events()
2011-03-09 19:54:27 +01:00
ide-cd_ioctl.c
ide: unexport DISK_EVENT_MEDIA_CHANGE for ide-gd and ide-cd
2011-04-21 19:43:59 +02:00
ide-cd_verbose.c
ide-cs.c
pcmcia: remove obsolete and wrong comments
2010-09-29 17:20:25 +02:00
ide-devsets.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
ide-disk.c
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2010-10-24 13:41:39 -07:00
ide-disk.h
ide-disk_ioctl.c
block: autoconvert trivial BKL users to private mutex
2010-10-05 15:01:10 +02:00
ide-disk_proc.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
ide-dma-sff.c
ide-dma.c
ide: clean up timed out request handling
2010-10-26 10:17:30 -07:00
ide-eh.c
block: remove wrappers for request type/flags
2010-08-07 18:17:56 +02:00
ide-floppy.c
Fix common misspellings
2011-03-31 11:26:23 -03:00
ide-floppy.h
ide-floppy_ioctl.c
block: autoconvert trivial BKL users to private mutex
2010-10-05 15:01:10 +02:00
ide-floppy_proc.c
ide-gd.c
ide: unexport DISK_EVENT_MEDIA_CHANGE for ide-gd and ide-cd
2011-04-21 19:43:59 +02:00
ide-gd.h
ide-generic.c
ide-h8300.c
ide-io-std.c
ide-io.c
ide: always ensure that blk_delay_queue() is called if we have pending IO
2011-04-05 23:52:49 +02:00
ide-ioctls.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
ide-iops.c
ide-legacy.c
ide-lib.c
ide-park.c
block: remove per-queue plugging
2011-03-10 08:52:07 +01:00
ide-pci-generic.c
ide-pio-blacklist.c
ide-pm.c
block: remove wrappers for request type/flags
2010-08-07 18:17:56 +02:00
ide-pnp.c
ide-probe.c
ide: Fix ordering of procfs registry.
2010-09-13 21:34:25 -07:00
ide-proc.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
ide-scan-pci.c
ide-sysfs.c
ide-tape.c
Merge branch 'llseek' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bkl
2010-10-22 10:52:56 -07:00
ide-taskfile.c
Fix common misspellings
2011-03-31 11:26:23 -03:00
ide-timings.c
ide-xfer-mode.c
ide.c
ide: use module_param_named rather than module_param_call
2010-08-11 23:04:39 +09:30
ide_platform.c
IDE: pass IRQ flags to the IDE core
2010-04-15 14:20:53 -07:00
it821x.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
it8172.c
it8213.c
jmicron.c
Kconfig
kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT
2011-01-20 17:02:05 -08:00
macide.c
Makefile
ide: change to new flag variable
2011-03-17 14:05:34 +01:00
ns87415.c
opti621.c
palm_bk3710.c
pdc202xx_new.c
pdc202xx_old.c
pdc202xx_old: ignore "FIFO empty" bit in test_irq() method
2010-04-22 19:11:24 -07:00
piix.c
Fix common misspellings
2011-03-31 11:26:23 -03:00
pmac.c
powerpc/macio: Fix probing of macio devices by using the right of match table
2010-06-02 17:50:38 +10:00
q40ide.c
qd65xx.c
qd65xx.h
rapide.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
rz1000.c
sc1200.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
scc_pata.c
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ide-2.6
2010-03-02 23:57:59 -08:00
serverworks.c
setup-pci.c
sgiioc4.c
siimage.c
sis5513.c
Fix common misspellings
2011-03-31 11:26:23 -03:00
sl82c105.c
slc90e66.c
tc86c001.c
triflex.c
Fix common misspellings
2011-03-31 11:26:23 -03:00
trm290.c
tx4938ide.c
tx493xide: use min_t() macro instead of min()
2010-08-09 03:17:55 -07:00
tx4939ide.c
tx493xide: use min_t() macro instead of min()
2010-08-09 03:17:55 -07:00
umc8672.c
via82cxxx.c
Fix common misspellings
2011-03-31 11:26:23 -03:00