Files
linux-apfs/drivers
Jens Axboe b4878f245e [PATCH] 02/05: update ioscheds to use generic dispatch queue
This patch updates all four ioscheds to use generic dispatch
queue.  There's one behavior change in as-iosched.

* In as-iosched, when force dispatching
  (ELEVATOR_INSERT_BACK), batch_data_dir is reset to REQ_SYNC
  and changed_batch and new_batch are cleared to zero.  This
  prevernts AS from doing incorrect update_write_batch after
  the forced dispatched requests are finished.

* In cfq-iosched, cfqd->rq_in_driver currently counts the
  number of activated (removed) requests to determine
  whether queue-kicking is needed and cfq_max_depth has been
  reached.  With generic dispatch queue, I think counting
  the number of dispatched requests would be more appropriate.

* cfq_max_depth can be lowered to 1 again.

Original from Tejun Heo, modified version applied.

Signed-off-by: Jens Axboe <axboe@suse.de>
2005-10-28 08:45:08 +02:00
..
2005-09-20 21:01:13 +01:00
2005-09-22 22:17:34 -07:00
2005-10-10 08:40:47 -07:00
2005-10-17 17:03:57 -07:00
2005-10-19 23:04:30 -07:00
2005-10-14 17:10:12 -07:00
2005-10-25 13:51:48 -07:00
2005-10-24 22:16:38 +01:00
2005-09-11 19:15:07 -07:00
2005-09-11 19:15:07 -07:00