aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLars Ellenberg <lars.ellenberg@linbit.com>2009-09-21 04:46:22 -0400
committerPhilipp Reisner <philipp.reisner@linbit.com>2009-11-04 09:20:57 -0500
commit89e1838f5f2c2af80268a096b9a687643b0d0846 (patch)
treecf31922c8159b61c0f99a76c8a78262527d5cb6c /include
parent59131d8e0ae91f2e94909e0795923c4c7ee7eb8c (diff)
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 @@
70 /* I don't think that a tcp send buffer of more than 10M is usefull */ 70 /* I don't think that a tcp send buffer of more than 10M is usefull */
71#define DRBD_SNDBUF_SIZE_MIN 0 71#define DRBD_SNDBUF_SIZE_MIN 0
72#define DRBD_SNDBUF_SIZE_MAX (10<<20) 72#define DRBD_SNDBUF_SIZE_MAX (10<<20)
73#define DRBD_SNDBUF_SIZE_DEF (2*65535) 73#define DRBD_SNDBUF_SIZE_DEF 0
74 74
75#define DRBD_RCVBUF_SIZE_MIN 0 75#define DRBD_RCVBUF_SIZE_MIN 0
76#define DRBD_RCVBUF_SIZE_MAX (10<<20) 76#define DRBD_RCVBUF_SIZE_MAX (10<<20)
77#define DRBD_RCVBUF_SIZE_DEF (2*65535) 77#define DRBD_RCVBUF_SIZE_DEF 0
78 78
79 /* @4k PageSize -> 128kB - 512MB */ 79 /* @4k PageSize -> 128kB - 512MB */
80#define DRBD_MAX_BUFFERS_MIN 32 80#define DRBD_MAX_BUFFERS_MIN 32