drbd: Use ping-timeout when waiting for missing ack packets
authorAndreas Gruenbacher <agruen@linbit.com>
Tue, 1 Mar 2011 14:40:43 +0000 (15:40 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Fri, 14 Oct 2011 14:47:51 +0000 (16:47 +0200)
commit71b1c1eb9c544141e743c4d14b3c576fd4c31a5a
treebf3205be10cc8941cd0f6b209ad56d3922d10b5f
parent8ccf218e9f19ecae4d115eeff686c9f1a1e5bc9e
drbd: Use ping-timeout when waiting for missing ack packets

When the node with the discard flag resolves write conflicts in
dual-primary mode, it may determine that its peer has sent ack packets
on the metadata socket which did not arrive, yet.  Wait for the next ack
with ping-timeout instead of a hard-coded 30 seconds.

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