From: alex Date: Tue, 24 May 2005 09:54:48 +0000 (+0000) Subject: - disable tcp keepalive for debugging purpose X-Git-Tag: 1.4.10~1101 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=f0983fb2a1975fd831bf779243545e5fae366aa5;p=fs%2Flustre-release.git - disable tcp keepalive for debugging purpose --- 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 */