diff options
author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2010-10-29 23:32:01 +0200 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-11-27 19:50:43 +0100 |
commit | c13f7e1a94007c4381814e7daf033e3e8f0663f3 (patch) | |
tree | 38115a45b39cd53204268238b8dc6e5bbfd9bafc /drivers/block/drbd/drbd_req.h | |
parent | Merge branch 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6 (diff) | |
download | linux-c13f7e1a94007c4381814e7daf033e3e8f0663f3.tar.xz linux-c13f7e1a94007c4381814e7daf033e3e8f0663f3.zip |
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 'drivers/block/drbd/drbd_req.h')
0 files changed, 0 insertions, 0 deletions