1. 03 12月, 2015 5 次提交
  2. 29 8月, 2015 2 次提交
  3. 12 11月, 2014 3 次提交
  4. 10 11月, 2014 1 次提交
  5. 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
  6. 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
  7. 25 10月, 2013 2 次提交
  8. 12 4月, 2013 1 次提交
  9. 10 4月, 2013 1 次提交
  10. 24 9月, 2012 1 次提交
  11. 20 7月, 2012 4 次提交
  12. 24 4月, 2012 3 次提交
  13. 11 1月, 2012 1 次提交
    • M
      [SCSI] scsi_dh_alua: Retry the check-condition in case Mode Parameters Changed · 410f02d8
      Moger, Babu 提交于
      This patch adds a check-condition in scsi_dh_alua handler for a retry.
      Sometimes, I have seen attach failing due to this check-condition with
      following error messages on NetApp E series storage.
      
      Dec  7 15:31:01 nilgiris kernel: [102979.696673] scsi 3:0:2:9: alua: port group 00 rel port 01
      Dec  7 15:31:01 nilgiris kernel: [102979.697082] scsi 3:0:2:9: alua: rtpg failed with 8000002
      Dec  7 15:31:01 nilgiris kernel: [102979.697086] scsi 3:0:2:9: alua: rtpg sense code 06/2a/01
      Dec  7 15:31:01 nilgiris kernel: [102979.697088] scsi 3:0:2:9: alua: not attached
      Signed-off-by: NBabu Moger <babu.moger@netapp.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      410f02d8
  14. 03 11月, 2011 1 次提交
  15. 01 11月, 2011 1 次提交
  16. 16 10月, 2011 1 次提交
  17. 31 8月, 2011 5 次提交
  18. 02 5月, 2011 1 次提交
  19. 31 3月, 2011 1 次提交
  20. 13 2月, 2011 1 次提交
  21. 25 1月, 2011 3 次提交