1. 15 Sep, 2021 1 commit
  2. 25 Jan, 2021 1 commit
  3. 02 Dec, 2020 1 commit
  4. 08 Oct, 2020 8 commits
  5. 15 Sep, 2020 5 commits
  6. 01 Jul, 2020 1 commit
  7. 29 Jun, 2020 3 commits
  8. 29 May, 2020 2 commits
  9. 07 Nov, 2019 2 commits
  10. 15 Sep, 2019 1 commit
    • Hou Tao's avatar
      block: make rq sector size accessible for block stats · 3d244306
      Hou Tao authored
      Currently rq->data_len will be decreased by partial completion or
      zeroed by completion, so when blk_stat_add() is invoked, data_len
      will be zero and there will never be samples in poll_cb because
      blk_mq_poll_stats_bkt() will return -1 if data_len is zero.
      
      We could move blk_stat_add() back to __blk_mq_complete_request(),
      but that would make the effort of trying to call ktime_get_ns()
      once in vain. Instead we can reuse throtl_size field, and use
      it for both block stats and block throttle, and adjust the
      logic in blk_mq_poll_stats_bkt() accordingly.
      
      Fixes: 4bc6339a
      
       ("block: move blk_stat_add() to __blk_mq_end_request()")
      Tested-by: default avatarPavel Begunkov <asml.silence@gmail.com>
      Signed-off-by: default avatarHou Tao <houtao1@huawei.com>
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      3d244306
  11. 29 Aug, 2019 1 commit
  12. 10 Jul, 2019 1 commit
  13. 31 May, 2019 1 commit
  14. 08 Dec, 2018 4 commits
  15. 16 Nov, 2018 1 commit
  16. 15 Nov, 2018 3 commits
  17. 02 Nov, 2018 1 commit
  18. 22 Sep, 2018 2 commits
  19. 21 Sep, 2018 1 commit