scsi_transport_srp: Add periodic reconnect support
authorBart Van Assche <bvanassche@acm.org>
Sat, 26 Oct 2013 12:35:59 +0000 (14:35 +0200)
committerRoland Dreier <roland@purestorage.com>
Fri, 8 Nov 2013 22:43:16 +0000 (14:43 -0800)
commit8c64e4531c3c3bedf11d723196270d4a7553db45
tree4cdd251177d7b981139f729e658fccdeb1b1ffd9
parentc1120f8981fe8ac8dd21092afaf664ba030a76cd
scsi_transport_srp: Add periodic reconnect support

Add support for periodically reconnecting to an SRP target until
the dev_loss timer expires. After the tenth reconnection attempt,
gradually slow down subsequent reconnect attempts.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: David Dillow <dillowda@ornl.gov>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Documentation/ABI/stable/sysfs-transport-srp
drivers/infiniband/ulp/srp/ib_srp.c
drivers/scsi/scsi_transport_srp.c
include/scsi/scsi_transport_srp.h