IB/srp: Remove stale connection retry mechanism
authorBart Van Assche <bvanassche@acm.org>
Thu, 30 Oct 2014 13:46:55 +0000 (14:46 +0100)
committerChristoph Hellwig <hch@lst.de>
Wed, 12 Nov 2014 10:32:02 +0000 (11:32 +0100)
commit205619f2f82434aebc5eb21c97fe22eb7b393293
tree9a46520d1c8b0088cf994462dd42a218dd39ca64
parent394c595ee8c3256db7200a3dedbf2d1811ca0b40
IB/srp: Remove stale connection retry mechanism

Attempting to connect three times may be insufficient after an
initiator system tries to relogin, especially if the relogin
attempt occurs before the SRP target service ID has been
registered. Since the srp_daemon retries a failed login attempt
anyway, remove the stale connection retry mechanism.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/infiniband/ulp/srp/ib_srp.c