drbd: Try to connec to peer only once per cycle
authorPhilipp Reisner <philipp.reisner@linbit.com>
Wed, 1 Aug 2012 09:41:01 +0000 (11:41 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Fri, 9 Nov 2012 13:05:45 +0000 (14:05 +0100)
commit92f14951c044198306f098e76c56a944cf88867a
tree2dc02501ff9736b0691065e859f5eabe2b822828
parentb666dbf819f9157a4afef2094ec961d216d802b5
drbd: Try to connec to peer only once per cycle

Since now our listening socket is open all the time we will get
connection tries of the peer always in. No need to try it three
times.

This is valid when connecting to older peers as well, it simply
increases the probability that the new version DRBD will accept
a connection instead that it will establish one.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_receiver.c