1. 10 May, 2013 1 commit
    • Hannes Reinecke's avatar
      [SCSI] Handle MLQUEUE busy response in scsi_send_eh_cmnd · fc73648a
      Hannes Reinecke authored
      scsi_send_eh_cmnd() is calling queuecommand() directly, so
      it needs to check the return value here.
      The only valid return codes for queuecommand() are 'busy'
      states, so we need to wait for a bit to allow the LLDD
      to recover.
      
      Based on an earlier patch from Wen Xiong.
      
      [jejb: fix confusion between msec and jiffies values and other issues]
      [bvanassche: correct stall_for interval]
      Cc: Wen Xiong <wenxiong@linux.vnet.ibm.com>
      Cc: Brian King <brking@linux.vnet.ibm.com>
      Signed-off-by: default avatarHannes Reinecke <hare@suse.de>
      Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
      fc73648a
  2. 02 May, 2013 39 commits