Whamcloud - gitweb
Make TCP zerocopy and pinger support enabled by default (affinity already was)
authoradilger <adilger>
Tue, 6 Jan 2004 18:34:09 +0000 (18:34 +0000)
committeradilger <adilger>
Tue, 6 Jan 2004 18:34:09 +0000 (18:34 +0000)
b=2476
r=phil

lnet/archdep.m4
lustre/ChangeLog
lustre/configure.in
lustre/portals/archdep.m4

index 6171555..f3f0fb4 100644 (file)
@@ -244,9 +244,9 @@ else
   AC_MSG_RESULT(no)
 fi
 
-AC_ARG_ENABLE(zerocopy, [  --enable-zerocopy enable socknal zerocopy],enable_zerocopy=$enable_zerocopy_temp, enable_zerocopy="")
+AC_ARG_ENABLE(zerocopy, [  --disable-zerocopy disable socknal zerocopy],enable_zerocopy="", enable_zerocopy=$enable_zerocopy_temp)
 
-AC_ARG_ENABLE(affinity, [  --enable-affinity enable process/irq affinity],enable_affinity="-DCPU_AFFINITY=1", enable_affinity=$enable_affinity_temp)
+AC_ARG_ENABLE(affinity, [  --disable-affinity disable process/irq affinity],enable_affinity="", enable_affinity=$enable_affinity_temp)
 #####################################
 
 AC_MSG_CHECKING(if quadrics kernel headers are present)
index 3513383..b233031 100644 (file)
@@ -6,6 +6,7 @@ tbd         Cluster File Systems, Inc. <info@clusterfs.com>
        - change default debug level to reasonable production setting
        - reduce client side cache size to reduce cache flush time
        - reduce max RPCs in flight to avoid unnecessary file fragmentation
+       - make TCP zerocopy and pinger support enabled by default (2476)
        - sync writes completed after process exits caused crashes (2319)
        - maintain correct mount count on the MDS (2356)
        - backout 1557, because 2316 wasn't really fixed
index 48e55f7..c60f868 100644 (file)
@@ -28,8 +28,8 @@ AM_CONDITIONAL(DOC, test x$ENABLE_DOC = x1)
 AC_SUBST(ENABLE_DOC)
 
 # the pinger is temporary, until we have the recovery node in place
-AC_ARG_ENABLE(pinger, [  --enable-pinger recovery pinger support])
-if test x$enable_pinger = xyes ; then
+AC_ARG_ENABLE(pinger, [  --disable-pinger disable recovery pinger support])
+if test x$enable_pinger != xno ; then
   AC_DEFINE(ENABLE_PINGER, 1, Use the Pinger)
 fi
 
index 6171555..f3f0fb4 100644 (file)
@@ -244,9 +244,9 @@ else
   AC_MSG_RESULT(no)
 fi
 
-AC_ARG_ENABLE(zerocopy, [  --enable-zerocopy enable socknal zerocopy],enable_zerocopy=$enable_zerocopy_temp, enable_zerocopy="")
+AC_ARG_ENABLE(zerocopy, [  --disable-zerocopy disable socknal zerocopy],enable_zerocopy="", enable_zerocopy=$enable_zerocopy_temp)
 
-AC_ARG_ENABLE(affinity, [  --enable-affinity enable process/irq affinity],enable_affinity="-DCPU_AFFINITY=1", enable_affinity=$enable_affinity_temp)
+AC_ARG_ENABLE(affinity, [  --disable-affinity disable process/irq affinity],enable_affinity="", enable_affinity=$enable_affinity_temp)
 #####################################
 
 AC_MSG_CHECKING(if quadrics kernel headers are present)