kernel-ark/drivers/block
Christoph Hellwig 83521d3eb8 [PATCH] cfq-iosched: move tasklist walk to elevator.c
We're trying to get rid of as much as possible tasklist walks, or at
least moving them to core code.  This patch falls into the second
category.

Instead of walking the tasklist in cfq-iosched move that into
elv_unregister.  The added benefit is that with this change the as
ioscheduler might be might unloadable more easily aswell.

The new code uses read_lock instead of read_lock_irq because the
tasklist_lock only needs irq disabling for writers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-30 17:37:17 -08:00
..
aoe [PATCH] Driver Core: fix up all callers of class_device_create() 2005-10-28 09:52:52 -07:00
paride [PATCH] Driver Core: fix up all callers of class_device_create() 2005-10-28 09:52:52 -07:00
acsi_slm.c
acsi.c
amiflop.c
as-iosched.c [PATCH] cfq-iosched: move tasklist walk to elevator.c 2005-10-30 17:37:17 -08:00
ataflop.c
cciss_cmd.h
cciss_scsi.c
cciss_scsi.h
cciss.c
cciss.h
cfq-iosched.c [PATCH] cfq-iosched: move tasklist walk to elevator.c 2005-10-30 17:37:17 -08:00
cpqarray.c
cpqarray.h
cryptoloop.c
DAC960.c
DAC960.h
deadline-iosched.c Merge branch 'generic-dispatch' of git://brick.kernel.dk/data/git/linux-2.6-block 2005-10-28 08:53:49 -07:00
elevator.c [PATCH] cfq-iosched: move tasklist walk to elevator.c 2005-10-30 17:37:17 -08:00
floppy.c
genhd.c [PATCH] add sysfs attr to re-emit device hotplug event 2005-10-28 09:52:51 -07:00
ida_cmd.h
ida_ioctl.h
ioctl.c
Kconfig
Kconfig.iosched
ll_rw_blk.c Merge branch 'elevator-switch' of git://brick.kernel.dk/data/git/linux-2.6-block 2005-10-28 08:56:34 -07:00
loop.c [PATCH] gfp_t: remaining bits of drivers/* 2005-10-28 08:16:51 -07:00
Makefile
nbd.c
noop-iosched.c [PATCH] 04/05 remove last_merge handling from ioscheds 2005-10-28 08:45:35 +02:00
pktcdvd.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
ps2esdi.c
rd.c [PATCH] gfp_t: remaining bits of drivers/* 2005-10-28 08:16:51 -07:00
scsi_ioctl.c
smart1,2.h
swim3.c
swim_iop.c
sx8.c drivers/block/sx8: kill unused variable 2005-10-22 01:33:18 -04:00
ub.c [PATCH] ub: suppress gcc warnings for pointer casts 2005-10-28 16:47:38 -07:00
umem.c
viodasd.c
xd.c
xd.h
z2ram.c