summaryrefslogtreecommitdiff
path: root/block/blk-map.c
diff options
context:
space:
mode:
authorLars Ellenberg <lars.ellenberg@linbit.com>2010-10-30 01:32:01 +0400
committerJens Axboe <jaxboe@fusionio.com>2010-11-27 21:50:43 +0300
commitc13f7e1a94007c4381814e7daf033e3e8f0663f3 (patch)
tree38115a45b39cd53204268238b8dc6e5bbfd9bafc /block/blk-map.c
parent19650e8580987c0ffabc2fe2cbc16b944789df8b (diff)
downloadlinux-c13f7e1a94007c4381814e7daf033e3e8f0663f3.tar.xz
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/blk-map.c')
0 files changed, 0 insertions, 0 deletions