Files
linux-st/include/linux
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
..
2005-09-13 08:22:31 -07:00
2005-10-17 17:03:57 -07:00
2005-10-04 13:22:01 -07:00
2005-10-08 15:00:57 -07:00
2005-09-10 10:06:21 -07:00
2005-10-28 08:48:12 +02:00
2005-09-10 10:16:27 -07:00
2005-10-28 08:44:37 +02:00
2005-09-13 08:22:32 -07:00
2005-09-09 13:57:55 -07:00
2005-09-13 08:22:32 -07:00
2005-10-08 15:00:57 -07:00
2005-10-23 16:38:39 -07:00
2005-09-19 15:41:28 -07:00
2005-09-09 20:14:47 -05:00
2005-09-07 16:57:48 -07:00
2005-10-03 14:13:38 -07:00
2005-10-08 15:00:57 -07:00
2005-09-17 11:50:02 -07:00
2005-10-08 15:00:57 -07:00
2005-10-24 22:16:38 +01:00
2005-09-13 08:22:31 -07:00
2005-09-09 13:57:54 -07:00
2005-10-08 15:00:57 -07:00
2005-09-10 10:06:21 -07:00
2005-09-10 10:06:21 -07:00
2005-10-08 15:00:57 -07:00
2005-09-18 00:18:32 -07:00
2005-09-10 10:06:36 -07:00
2005-09-09 13:57:58 -07:00
2005-10-08 15:00:57 -07:00