1. 22 Sep, 2016 6 commits
  2. 15 Sep, 2016 4 commits
  3. 14 Sep, 2016 23 commits
  4. 08 Sep, 2016 4 commits
  5. 29 Aug, 2016 3 commits
    • Baoyou Xie's avatar
      mtip32xx: mark symbols static where possible · 99e6b87e
      Baoyou Xie authored
      We get 1 warning when biuld kernel with W=1:
      drivers/block/mtip32xx/mtip32xx.c:3689:6: warning: no previous prototype for
       'mtip_block_release' [-Wmissing-prototypes]
      
      In fact, this function is only used in the file in which it is declared
      and don't need a declaration, but can be made static.
      so this patch marks it 'static'.
      Signed-off-by: default avatarBaoyou Xie <baoyou.xie@linaro.org>
      Signed-off-by: default avatarJens Axboe <axboe@fb.com>
      99e6b87e
    • Jens Axboe's avatar
      blk-mq: prefetch request in blk_mq_tag_to_rq() · 88c7b2b7
      Jens Axboe authored
      When drivers or the core calls this function, they usually
      dereference the request shortly there after. Prefetch the first
      cache line.
      
      Profiling IO workloads shows that this is the most common cache
      miss on the block side of things.
      Signed-off-by: default avatarJens Axboe <axboe@fb.com>
      88c7b2b7
    • Jens Axboe's avatar
      blk-mq: improve layout of blk_mq_hw_ctx · 8d354f13
      Jens Axboe authored
      Various cache line optimizations:
      
      - Move delay_work towards the end. It's huge, and we don't use it
        a lot (only SCSI).
      
      - Move the atomic state into the same cacheline as the the dispatch
        list and lock.
      
      - Rearrange a few members to pack it better.
      
      - Shrink the max-order for dispatch accounting from 10 to 7. This
        means that ->dispatched[] and ->run now take up their own
        cacheline.
      
      This shrinks struct blk_mq_hw_ctx down to 8 cachelines.
      Signed-off-by: default avatarJens Axboe <axboe@fb.com>
      8d354f13