aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2013-04-25 08:10:00 +0200
committerJames Bottomley <JBottomley@Parallels.com>2013-05-10 07:47:44 -0700
commitfc73648a5026dcf228aadc6ab8ca4b868d91c159 (patch)
tree69120446e56d07168c8971763841ed3aba471ad8 /kernel
parent[SCSI] qla4xxx: Fix iocb_cnt calculation in qla4xxx_send_mbox_iocb() (diff)
downloadlinux-dev-fc73648a5026dcf228aadc6ab8ca4b868d91c159.tar.xz
linux-dev-fc73648a5026dcf228aadc6ab8ca4b868d91c159.zip
[SCSI] Handle MLQUEUE busy response in scsi_send_eh_cmnd
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: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions