summaryrefslogtreecommitdiffstats
path: root/include/linux/drbd_limits.h
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/linux/drbd_limits.h
parent59131d8e0ae91f2e94909e0795923c4c7ee7eb8c (diff)
downloadop-kernel-dev-89e1838f5f2c2af80268a096b9a687643b0d0846.zip
op-kernel-dev-89e1838f5f2c2af80268a096b9a687643b0d0846.tar.gz
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/linux/drbd_limits.h')
-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 9d067ce..51f47a5 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
OpenPOWER on IntegriCloud