From f0983fb2a1975fd831bf779243545e5fae366aa5 Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 24 May 2005 09:54:48 +0000 Subject: [PATCH] - disable tcp keepalive for debugging purpose --- lnet/klnds/socklnd/socklnd.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lnet/klnds/socklnd/socklnd.h b/lnet/klnds/socklnd/socklnd.h index da7014e..4577fb7 100644 --- a/lnet/klnds/socklnd/socklnd.h +++ b/lnet/klnds/socklnd/socklnd.h @@ -59,7 +59,13 @@ #define SOCKNAL_BUFFER_SIZE (8<<20) /* default socket buffer size */ #define SOCKNAL_NAGLE 0 /* enable/disable NAGLE? */ #define SOCKNAL_IRQ_AFFINITY 1 /* enable/disable IRQ affinity? */ + +/* FIXME: for debugging purpose only, remove asap! -bzzz */ +#if 0 #define SOCKNAL_KEEPALIVE_IDLE 30 /* # seconds idle before 1st probe */ +#endif +#define SOCKNAL_KEEPALIVE_IDLE 0 /* # seconds idle before 1st probe */ + #define SOCKNAL_KEEPALIVE_COUNT 10 /* # unanswered probes to determine peer death */ #define SOCKNAL_KEEPALIVE_INTVL 2 /* seconds between probes */ -- 1.8.3.1