1. 05 May, 2014 7 commits
  2. 01 May, 2014 1 commit
  3. 30 Apr, 2014 24 commits
  4. 23 Apr, 2014 3 commits
  5. 22 Apr, 2014 2 commits
  6. 16 Apr, 2014 3 commits
    • Jens Axboe's avatar
      bsg: update check for rq based driver for blk-mq · 49fd524f
      Jens Axboe authored
      bsg currently checks ->request_fn to check whether a queue can
      handle struct request. But with blk-mq, we don't have a request_fn
      yet are request based. Add a queue_is_rq_based() helper and use
      that in bsg, I'm guessing this is not the last place we need to
      update for this. Besides, it better explains what is being
      checked.
      Signed-off-by: default avatarJens Axboe <axboe@fb.com>
      49fd524f
    • Jens Axboe's avatar
      fb1be433
    • Jens Axboe's avatar
      block: relax when to modify the timeout timer · f793aa53
      Jens Axboe authored
      Since we are now, by default, applying timer slack to expiry times,
      the logic for when to modify a timer in the block code is suboptimal.
      The block layer keeps a forward rolling timer per queue for all
      requests, and modifies this timer if a request has a shorter timeout
      than what the current expiry time is. However, this breaks down
      when our rounded timer values get applied slack. Then each new
      request ends up modifying the timer, since we're still a little
      in front of the timer + slack.
      
      Fix this by allowing a tolerance of HZ / 2, the timeout handling
      doesn't need to be very precise. This drastically cuts down
      the number of timer modifications we have to make.
      Signed-off-by: default avatarJens Axboe <axboe@fb.com>
      f793aa53