1. 01 10月, 2006 3 次提交
    • J
      [PATCH] elevator: abstract out the rbtree sort handling · 2e662b65
      Jens Axboe 提交于
      The rbtree sort/lookup/reposition logic is mostly duplicated in
      cfq/deadline/as, so move it to the elevator core. The io schedulers
      still provide the actual rb root, as we don't want to impose any sort
      of specific handling on the schedulers.
      
      Introduce the helpers and rb_node in struct request to help migrate the
      IO schedulers.
      Signed-off-by: NJens Axboe <axboe@suse.de>
      2e662b65
    • J
      [PATCH] elevator: move the backmerging logic into the elevator core · 9817064b
      Jens Axboe 提交于
      Right now, every IO scheduler implements its own backmerging (except for
      noop, which does no merging). That results in duplicated code for
      essentially the same operation, which is never a good thing. This patch
      moves the backmerging out of the io schedulers and into the elevator
      core. We save 1.6kb of text and as a bonus get backmerging for noop as
      well. Win-win!
      Signed-off-by: NJens Axboe <axboe@suse.de>
      9817064b
    • J
      [PATCH] Split struct request ->flags into two parts · 4aff5e23
      Jens Axboe 提交于
      Right now ->flags is a bit of a mess: some are request types, and
      others are just modifiers. Clean this up by splitting it into
      ->cmd_type and ->cmd_flags. This allows introduction of generic
      Linux block message types, useful for sending generic Linux commands
      to block devices.
      Signed-off-by: NJens Axboe <axboe@suse.de>
      4aff5e23
  2. 30 9月, 2006 1 次提交
  3. 23 9月, 2006 1 次提交
  4. 31 8月, 2006 1 次提交
  5. 21 8月, 2006 1 次提交
  6. 06 7月, 2006 1 次提交
  7. 04 7月, 2006 1 次提交
  8. 01 7月, 2006 2 次提交
  9. 28 6月, 2006 2 次提交
  10. 27 6月, 2006 1 次提交
  11. 23 6月, 2006 4 次提交
  12. 24 5月, 2006 1 次提交
  13. 12 5月, 2006 1 次提交
    • J
      [BLOCK] limit request_fn recursion · dac07ec1
      Jens Axboe 提交于
      Don't recurse back into the driver even if the unplug threshold is met,
      when the driver asks for a requeue. This is both silly from a logical
      point of view (requeues typically happen due to driver/hardware
      shortage), and also dangerous since we could hit an endless request_fn
      -> requeue -> unplug -> request_fn loop and crash on stack overrun.
      
      Also limit blk_run_queue() to one level of recursion, similar to how
      blk_start_queue() works.
      
      This patch fixed a real problem with SLES10 and lpfc, and it could hit
      any SCSI lld that returns non-zero from it's ->queuecommand() handler.
      Signed-off-by: NJens Axboe <axboe@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      dac07ec1
  14. 26 4月, 2006 1 次提交
  15. 20 4月, 2006 1 次提交
  16. 02 4月, 2006 1 次提交
  17. 29 3月, 2006 1 次提交
  18. 28 3月, 2006 3 次提交
  19. 27 3月, 2006 2 次提交
  20. 24 3月, 2006 1 次提交
  21. 19 3月, 2006 4 次提交
  22. 09 3月, 2006 1 次提交
  23. 08 2月, 2006 1 次提交
  24. 06 2月, 2006 2 次提交
  25. 02 2月, 2006 1 次提交
  26. 31 1月, 2006 1 次提交