aboutsummaryrefslogtreecommitdiff
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorGravatar Bart Van Assche <bvanassche@acm.org> 2013-06-12 15:24:25 +0200
committerGravatar Roland Dreier <roland@purestorage.com> 2013-06-27 16:44:39 -0700
commit2742c1dadde602baea6f0547c028154aebd6f1ca (patch)
tree6553349c1e26b3f504964af41e5a72a5a385708a /drivers/infiniband
parentIB/srp: Avoid skipping srp_reset_host() after a transport error (diff)
downloadlinux-2742c1dadde602baea6f0547c028154aebd6f1ca.tar.gz
linux-2742c1dadde602baea6f0547c028154aebd6f1ca.tar.bz2
linux-2742c1dadde602baea6f0547c028154aebd6f1ca.zip
IB/srp: Skip host settle delay
The SRP initiator implements host reset by reconnecting to the SRP target. That means that communication with the target is possible as soon as host reset finished. Hence skip the host settle delay. Signed-off-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Sebastian Riemer <sebastian.riemer@profitbricks.com> Reviewed-by: Christoph Hellwig <hch@infradead.org> Acked-by: David Dillow <dillowda@ornl.gov> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/ulp/srp/ib_srp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/srp/ib_srp.c b/drivers/infiniband/ulp/srp/ib_srp.c
index 759c55b9685f..bc13c8db7fc2 100644
--- a/drivers/infiniband/ulp/srp/ib_srp.c
+++ b/drivers/infiniband/ulp/srp/ib_srp.c
@@ -1951,6 +1951,7 @@ static struct scsi_host_template srp_template = {
.eh_abort_handler = srp_abort,
.eh_device_reset_handler = srp_reset_device,
.eh_host_reset_handler = srp_reset_host,
+ .skip_settle_delay = true,
.sg_tablesize = SRP_DEF_SG_TABLESIZE,
.can_queue = SRP_CMD_SQ_SIZE,
.this_id = -1,