drbd: improve resync request throttling due to sendbuf size
authorLars Ellenberg <lars.ellenberg@linbit.com>
Fri, 31 Jan 2014 13:55:12 +0000 (14:55 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Jul 2014 16:35:04 +0000 (18:35 +0200)
commit506afb6248af577eb702c73f3da52a12f4c56a38
treed4339c873049cff5224e3b449ae8c6c1b8ed3357
parent659b2e3bb8b149f5f7e2f8551599044b715bcc21
drbd: improve resync request throttling due to sendbuf size

If we throttle resync because the socket sendbuffer is filling up,
tell TCP about it, so it may expand the sendbuffer for us.

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