1. 31 May, 2014 1 commit
    • Jens Axboe's avatar
      blk-mq: push IPI or local end_io decision to __blk_mq_complete_request() · ed851860
      Jens Axboe authored
      We have callers outside of the blk-mq proper (like timeouts) that
      want to call __blk_mq_complete_request(), so rename the function
      and put the decision code for whether to use ->softirq_done_fn
      or blk_mq_endio() into __blk_mq_complete_request().
      
      This also makes the interface more logical again.
      blk_mq_complete_request() attempts to atomically mark the request
      completed, and calls __blk_mq_complete_request() if successful.
      __blk_mq_complete_request() then just ends the request.
      Signed-off-by: default avatarJens Axboe <axboe@fb.com>
      ed851860
  2. 30 May, 2014 5 commits
  3. 29 May, 2014 4 commits
  4. 28 May, 2014 9 commits
  5. 27 May, 2014 5 commits
  6. 26 May, 2014 2 commits
  7. 23 May, 2014 2 commits
  8. 22 May, 2014 1 commit
    • Jens Axboe's avatar
      blk-mq: split make request handler for multi and single queue · 07068d5b
      Jens Axboe authored
      We want slightly different behavior from them:
      
      - On single queue devices, we currently use the per-process plug
        for deferred IO and for merging.
      
      - On multi queue devices, we don't use the per-process plug, but
        we want to go straight to hardware for SYNC IO.
      
      Split blk_mq_make_request() into a blk_sq_make_request() for single
      queue devices, and retain blk_mq_make_request() for multi queue
      devices. Then we don't need multiple checks for q->nr_hw_queues
      in the request mapping.
      Signed-off-by: default avatarJens Axboe <axboe@fb.com>
      07068d5b
  9. 21 May, 2014 2 commits
  10. 20 May, 2014 5 commits
  11. 19 May, 2014 4 commits