1. 07 6月, 2014 1 次提交
    • S
      mtip32xx: minor performance enhancements · f45c40a9
      Sam Bradshaw 提交于
      This patch adds the following:
      
      1) Compiler hinting in the fast path.
      2) A prefetch of port->flags to eliminate moderate cpu stalling later
      in mtip_hw_submit_io().
      3) Eliminate a redundant rq_data_dir().
      4) Reorder members of driver_data to eliminate false cacheline sharing
      between irq_workers_active and unal_qdepth.
      
      With some workload and topology configurations, I'm seeing ~1.5%
      throughput improvement in small block random read benchmarks as well
      as improved latency std. dev.
      Signed-off-by: NSam Bradshaw <sbradshaw@micron.com>
      
      Add include of <linux/prefetch.h>
      Signed-off-by: NJens Axboe <axboe@fb.com>
      f45c40a9
  2. 06 6月, 2014 1 次提交
    • J
      block: add blk_rq_set_block_pc() · f27b087b
      Jens Axboe 提交于
      With the optimizations around not clearing the full request at alloc
      time, we are leaving some of the needed init for REQ_TYPE_BLOCK_PC
      up to the user allocating the request.
      
      Add a blk_rq_set_block_pc() that sets the command type to
      REQ_TYPE_BLOCK_PC, and properly initializes the members associated
      with this type of request. Update callers to use this function instead
      of manipulating rq->cmd_type directly.
      
      Includes fixes from Christoph Hellwig <hch@lst.de> for my half-assed
      attempt.
      Signed-off-by: NJens Axboe <axboe@fb.com>
      f27b087b
  3. 05 6月, 2014 11 次提交
  4. 04 6月, 2014 2 次提交
  5. 03 6月, 2014 4 次提交
  6. 02 6月, 2014 21 次提交