aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/scsi_transport_fc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/scsi_transport_fc.c b/drivers/scsi/scsi_transport_fc.c
index 3ce56b3b2cd7..600502aa3b61 100644
--- a/drivers/scsi/scsi_transport_fc.c
+++ b/drivers/scsi/scsi_transport_fc.c
@@ -3809,8 +3809,9 @@ fc_bsg_request_handler(struct request_queue *q, struct Scsi_Host *shost,
3809 return; 3809 return;
3810 3810
3811 while (!blk_queue_plugged(q)) { 3811 while (!blk_queue_plugged(q)) {
3812 if (rport && (rport->port_state == FC_PORTSTATE_BLOCKED)) 3812 if (rport && (rport->port_state == FC_PORTSTATE_BLOCKED) &&
3813 break; 3813 !(rport->flags & FC_RPORT_FAST_FAIL_TIMEDOUT))
3814 break;
3814 3815
3815 req = blk_fetch_request(q); 3816 req = blk_fetch_request(q);
3816 if (!req) 3817 if (!req)