1. 24 2月, 2016 9 次提交
  2. 08 12月, 2015 1 次提交
  3. 03 12月, 2015 12 次提交
  4. 29 8月, 2015 2 次提交
  5. 12 11月, 2014 3 次提交
  6. 10 11月, 2014 1 次提交
  7. 29 8月, 2014 1 次提交
    • J
      block,scsi: fixup blk_get_request dead queue scenarios · a492f075
      Joe Lawrence 提交于
      The blk_get_request function may fail in low-memory conditions or during
      device removal (even if __GFP_WAIT is set). To distinguish between these
      errors, modify the blk_get_request call stack to return the appropriate
      ERR_PTR. Verify that all callers check the return status and consider
      IS_ERR instead of a simple NULL pointer check.
      
      For consistency, make a similar change to the blk_mq_alloc_request leg
      of blk_get_request.  It may fail if the queue is dead, or the caller was
      unwilling to wait.
      Signed-off-by: NJoe Lawrence <joe.lawrence@stratus.com>
      Acked-by: Jiri Kosina <jkosina@suse.cz> [for pktdvd]
      Acked-by: Boaz Harrosh <bharrosh@panasas.com> [for osd]
      Reviewed-by: NJeff Moyer <jmoyer@redhat.com>
      Signed-off-by: NJens Axboe <axboe@fb.com>
      a492f075
  8. 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
  9. 25 10月, 2013 2 次提交
  10. 12 4月, 2013 1 次提交
  11. 10 4月, 2013 1 次提交
  12. 24 9月, 2012 1 次提交
  13. 20 7月, 2012 4 次提交
  14. 24 4月, 2012 1 次提交
    • M
      [SCSI] scsi_dh_alua: Optimize the STPG command · 72d9e0f3
      Moger, Babu 提交于
      This patch optimizes the set target port group(STPG) command. During our
      testing, we found that it is not optimal to send stpg command every time
      the path group switch happens. This patch uses PREF (preferred target port)
      bit with combination of flags passed by multipath user level tool to
      optimize this behaviour. If PREF bit is set then it issues a STPG command,
      otherwise it will let implicit transfer take place.
      
      By default there is no change in the behaviour. User tool needs to pass the
      parameter to make this change take effect. Patch has been tested on NetApp
      E series storage.
      Signed-off-by: NBabu Moger <babu.moger@netapp.com>
      Reviewed-by: NHannes Reinecke <hare@suse.de>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      72d9e0f3