kernel-ark/include
Tejun Heo cb98fc8bb9 [BLOCK] Reimplement elevator switch
This patch reimplements elevator switch.  This patch assumes generic
dispatch queue patchset is applied.

 * Each request is tagged with REQ_ELVPRIV flag if it has its elevator
   private data set.
 * Requests which doesn't have REQ_ELVPRIV flag set never enter
   iosched.  They are always directly back inserted to dispatch queue.
   Of course, elevator_put_req_fn is called only for requests which
   have its REQ_ELVPRIV set.
 * Request queue maintains the current number of requests which have
   its elevator data set (elevator_set_req_fn called) in
   q->rq->elvpriv.
 * If a request queue has QUEUE_FLAG_BYPASS set, elevator private data
   is not allocated for new requests.

 To switch to another iosched, we set QUEUE_FLAG_BYPASS and wait until
elvpriv goes to zero; then, we attach the new iosched and clears
QUEUE_FLAG_BYPASS.  New implementation is much simpler and main code
paths are less cluttered, IMHO.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jens Axboe <axboe@suse.de>
2005-10-28 08:48:12 +02:00
..
acpi
asm-alpha [PATCH] alpha: atomic dependency fix 2005-10-25 09:32:46 -07:00
asm-arm [ARM] 3032/1: sparse: complains about generic_fls() prototype in asm-arm/bitops.h 2005-10-26 15:04:21 +01:00
asm-arm26
asm-cris
asm-frv
asm-generic
asm-h8300
asm-i386
asm-ia64
asm-m32r
asm-m68k
asm-m68knommu
asm-mips
asm-parisc
asm-powerpc [PATCH] ppc32: Fix timekeeping 2005-10-12 08:24:47 -07:00
asm-ppc [PATCH] ppc32: Tell userland about lack of standard TB 2005-10-12 08:24:47 -07:00
asm-ppc64
asm-s390
asm-sh
asm-sh64
asm-sparc
asm-sparc64 [SPARC64]: Eliminate PCI IOMMU dma mapping size limit. 2005-10-13 22:15:24 -07:00
asm-um
asm-v850
asm-x86_64 Revert "x86-64: Avoid unnecessary double bouncing for swiotlb" 2005-10-27 16:28:39 -07:00
asm-xtensa
linux [BLOCK] Reimplement elevator switch 2005-10-28 08:48:12 +02:00
math-emu
media
mtd
net [LLC]: Strip RIF flag from source MAC address 2005-10-25 21:34:39 -02:00
pcmcia
rdma
rxrpc
scsi
sound
video