summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLars Ellenberg <lars.ellenberg@linbit.com>2009-09-21 10:46:22 +0200
committerPhilipp Reisner <philipp.reisner@linbit.com>2009-11-04 15:20:57 +0100
commit89e1838f5f2c2af80268a096b9a687643b0d0846 (patch)
treecf31922c8159b61c0f99a76c8a78262527d5cb6c /include
parentMerge branch 'for-2.6.33' of git://git.kernel.dk/linux-2.6-block into for-2.6.33 (diff)
downloadlinux-89e1838f5f2c2af80268a096b9a687643b0d0846.tar.xz
linux-89e1838f5f2c2af80268a096b9a687643b0d0846.zip
change default: by default, use socket buffer auto tuning
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/drbd_limits.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/drbd_limits.h b/include/linux/drbd_limits.h
index 9d067ce46960..51f47a586ad8 100644
--- a/include/linux/drbd_limits.h
+++ b/include/linux/drbd_limits.h
@@ -70,11 +70,11 @@
/* I don't think that a tcp send buffer of more than 10M is usefull */
#define DRBD_SNDBUF_SIZE_MIN 0
#define DRBD_SNDBUF_SIZE_MAX (10<<20)
-#define DRBD_SNDBUF_SIZE_DEF (2*65535)
+#define DRBD_SNDBUF_SIZE_DEF 0
#define DRBD_RCVBUF_SIZE_MIN 0
#define DRBD_RCVBUF_SIZE_MAX (10<<20)
-#define DRBD_RCVBUF_SIZE_DEF (2*65535)
+#define DRBD_RCVBUF_SIZE_DEF 0
/* @4k PageSize -> 128kB - 512MB */
#define DRBD_MAX_BUFFERS_MIN 32