aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorLars Ellenberg <lars.ellenberg@linbit.com>2010-10-29 23:32:01 +0200
committerJens Axboe <jaxboe@fusionio.com>2010-11-27 19:50:43 +0100
commitc13f7e1a94007c4381814e7daf033e3e8f0663f3 (patch)
tree38115a45b39cd53204268238b8dc6e5bbfd9bafc /block
parent19650e8580987c0ffabc2fe2cbc16b944789df8b (diff)
drbd: don't recvmsg with zero length
This should fix a performance degradation we observed recently. If we don't expect any subheader, we should not call into the tcp stack, as that may add considerable latency if there is no data available at this point. For a synthetic synchronous write load with single outstanding writes, this additional latency when processing the "unplug remote" packet added up to a performance degradation factor >= 10. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions