drbd: improve network latency, TCP_QUICKACK
commit344fa462e3246bd102059ccc3c59deef416676dd
authorLars Ellenberg <lars.ellenberg@linbit.com>
Tue, 25 May 2010 12:23:57 +0000 (25 14:23 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Tue, 1 Jun 2010 09:12:27 +0000 (1 11:12 +0200)
tree1e66ef2ce11d25214004468d16bac6b7a1dc24c6
parent2c8d196759054b632788633b20e39167df36041d
drbd: improve network latency, TCP_QUICKACK

On Thu, Apr 29, 2010 at 04:00:50PM -0400, Eduard.Guzovsky@stratus.com
 wrote on drbd-dev@lists.linbit.com
 Subject: [Drbd-dev] DRBD small synchronous writes performance improvements

> 1. TCP_QUICKACK option is set incorrectly. The goal was force TCP to
> send and ACK as a  "one time" event.  Instead the code permanently sets
> connection in the QUICKACK mode.

He is right, we actually want to use an even val with TCP_QUICKACK.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
drivers/block/drbd/drbd_int.h