[SCSI] bnx2fc: Fixed the handling for the SCSI retry delay
authorEddie Wai <eddie.wai@broadcom.com>
Wed, 11 Dec 2013 23:30:22 +0000 (15:30 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 15 Mar 2014 17:17:47 +0000 (10:17 -0700)
commit245a57542462f0cdbd28ca676bbce441e15178bf
tree83ab41c5adb898f3380f414cc7be769180620d0c
parent06c4f20d2814b534eb4fb993d0db9259b24372b9
[SCSI] bnx2fc: Fixed the handling for the SCSI retry delay

SCSI retry delay upon SAM_STAT_BUSY/_SET_FULL was not being handled
in bnx2fc.  This patch adds such handling by returning TARGET_BUSY
to the SCSI ML for the corresponding LUN until the retry timer expires.

Signed-off-by: Eddie Wai <eddie.wai@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bnx2fc/bnx2fc.h
drivers/scsi/bnx2fc/bnx2fc_io.c
drivers/scsi/bnx2fc/bnx2fc_tgt.c