scsi_transport_srp: Block rport upon TL error even with fast_io_fail_tmo = off
authorBart Van Assche <bvanassche@acm.org>
Wed, 11 Dec 2013 16:05:22 +0000 (17:05 +0100)
committerRoland Dreier <roland@purestorage.com>
Tue, 21 Jan 2014 18:46:17 +0000 (10:46 -0800)
commit18cc4e02508e3f1fadf81f697837567431ee5a9c
tree93e87be58cdceb7f84fed11673cda5631d2d4d58
parente6b45d49b41110e0d795d17666c5850240829e0f
scsi_transport_srp: Block rport upon TL error even with fast_io_fail_tmo = off

The current behavior of the SRP transport layer when a transport layer
error is encountered is to block SCSI command processing only if
fast_io_fail_tmo != off.  The current behavior of the FC transport
layer when a transport layer error is encountered is to block SCSI
command processing no matter which value fast_io_fail_tmo has been set
to.  Make the behavior of the SRP transport layer consistent with that
of the FC transport layer to avoid confusion.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/scsi/scsi_transport_srp.c