]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7254227160f2ff27206ccdaf60be23542c19f796
tree9a46520d1c8b0088cf994462dd42a218dd39ca64
parent519fb192b20d6c67b56ab0489321123317b3cd80
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