1. 12 Jan, 2006 1 commit
    • Tejun Heo's avatar
      [PATCH] fix queue stalling while barrier sequencing · 1bc691d3
      Tejun Heo authored
      
      
      If ordered tag isn't supported, request ordering for barrier
      sequencing is performed by queue draining, which basically hangs the
      request queue until elv_completed_request() reports completion of all
      previous fs requests.
      
      The condition check in elv_completed_request() was only performed for
      fs requests.  If a special request is queued between the last
      to-be-drained request and the barrier sequence, draining is never
      completed and the queue is stalled forever.
      
      This patch moves the end-of-draining condition check such that it's
      performed for all requests.
      Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
      Signed-off-by: default avatarJens Axboe <axboe@suse.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      1bc691d3
  2. 09 Jan, 2006 1 commit
  3. 06 Jan, 2006 2 commits
    • Tejun Heo's avatar
      [BLOCK] reimplement handling of barrier request · 797e7dbb
      Tejun Heo authored
      
      
      Reimplement handling of barrier requests.
      
      * Flexible handling to deal with various capabilities of
        target devices.
      * Retry support for falling back.
      * Tagged queues which don't support ordered tag can do ordered.
      Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
      Signed-off-by: default avatarJens Axboe <axboe@suse.de>
      797e7dbb
    • Tejun Heo's avatar
      [BLOCK] add @uptodate to end_that_request_last() and @error to rq_end_io_fn() · 8ffdc655
      Tejun Heo authored
      
      
      add @uptodate argument to end_that_request_last() and @error
      to rq_end_io_fn().  there's no generic way to pass error code
      to request completion function, making generic error handling
      of non-fs request difficult (rq->errors is driver-specific and
      each driver uses it differently).  this patch adds @uptodate
      to end_that_request_last() and @error to rq_end_io_fn().
      
      for fs requests, this doesn't really matter, so just using the
      same uptodate argument used in the last call to
      end_that_request_first() should suffice.  imho, this can also
      help the generic command-carrying request jens is working on.
      Signed-off-by: default avatartejun heo <htejun@gmail.com>
      Signed-Off-By: default avatarJens Axboe <axboe@suse.de>
      8ffdc655
  4. 18 Nov, 2005 1 commit
  5. 12 Nov, 2005 6 commits
  6. 04 Nov, 2005 1 commit
  7. 02 Nov, 2005 1 commit
    • Tejun Heo's avatar
      [PATCH] blk: fix dangling pointer access in __elv_add_request · ca23509f
      Tejun Heo authored
      
      
      cfq's add_req_fn callback may invoke q->request_fn directly and
      depending on low-level driver used and timing, a queued request may be
      finished & deallocated before add_req_fn callback returns.  So,
      __elv_add_request must not access rq after it's passed to add_req_fn
      callback.
      
      This patch moves rq_mergeable test above add_req_fn().  This may
      result in q->last_merge pointing to REQ_NOMERGE request if add_req_fn
      callback sets it but as RQ_NOMERGE is checked again when blk layer
      actually tries to merge requests, this does not cause any problem.
      Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      ca23509f
  8. 31 Oct, 2005 3 commits
  9. 28 Oct, 2005 10 commits
  10. 27 Jun, 2005 1 commit
    • Jens Axboe's avatar
      [PATCH] Update cfq io scheduler to time sliced design · 22e2c507
      Jens Axboe authored
      
      
      This updates the CFQ io scheduler to the new time sliced design (cfq
      v3).  It provides full process fairness, while giving excellent
      aggregate system throughput even for many competing processes.  It
      supports io priorities, either inherited from the cpu nice value or set
      directly with the ioprio_get/set syscalls.  The latter closely mimic
      set/getpriority.
      
      This import is based on my latest from -mm.
      Signed-off-by: default avatarJens Axboe <axboe@suse.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      22e2c507
  11. 16 Jun, 2005 2 commits
  12. 20 May, 2005 1 commit
  13. 16 Apr, 2005 1 commit
    • Linus Torvalds's avatar
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds authored
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4