drbd: New net configuration option socket-check-timeout
authorPhilipp Reisner <philipp.reisner@linbit.com>
Tue, 18 Mar 2014 13:24:35 +0000 (14:24 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Jul 2014 16:35:01 +0000 (18:35 +0200)
commit5d0b17f1a29e8189d04aef447a3a53cfd05529b2
tree2d53fe259fd70241a40f33438b4b3676676bbf2c
parent4920e37a9e851172158ecc0fd7e060712dc1b5e8
drbd: New net configuration option socket-check-timeout

In setups involving a DRBD-proxy and connections that experience a lot of
buffer-bloat it might be necessary to set ping-timeout to an
unusual high value. By default DRBD uses the same value to wait if a newly
established TCP-connection is stable. Since the DRBD-proxy is usually located
in the same data center such a long wait time may hinder DRBD's connect process.

In such setups socket-check-timeout should be set to
at least to the round trip time between DRBD and DRBD-proxy. I.e. in most
cases to 1.

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