* RHEL 4 and RHEL 5/SLES 10 clients behaves differently on 'cd' to a
removed cwd "./" (refer to Bugzilla 14399).
+Severity : normal
+Bugzilla : 3055
+Description: Disable adaptive timeouts by default
+
Severity : major
Bugzilla : 15027
Frequency : on network error
LC_CONFIG_QUOTA
LC_CONFIG_HEALTH_CHECK_WRITE
LC_CONFIG_LRU_RESIZE
+ LC_CONFIG_ADAPTIVE_TIMEOUTS
LC_TASK_PPTR
# RHEL4 patches
fi
])
+AC_DEFUN([LC_CONFIG_ADAPTIVE_TIMEOUTS],
+[AC_MSG_CHECKING([whether to enable ptlrpc adaptive timeouts support])
+AC_ARG_ENABLE([adaptive_timeouts],
+ AC_HELP_STRING([--enable-adaptive-timeouts],
+ [enable ptlrpc adaptive timeouts support]),
+ [],[enable_adaptive_timeouts='no'])
+AC_MSG_RESULT([$enable_adaptive_timeouts])
+if test x$enable_adaptive_timeouts == xyes; then
+ AC_DEFINE(HAVE_AT_SUPPORT, 1, [Enable adaptive timeouts support])
+fi
+])
+
#
# LC_CONFIG_QUOTA
#
unsigned int at_min = 0;
CFS_MODULE_PARM(at_min, "i", int, 0644,
"Adaptive timeout minimum (sec)");
+
+#if HAVE_AT_SUPPORT
unsigned int at_max = 600;
+#else
+unsigned int at_max = 0;
+#endif
+
EXPORT_SYMBOL(at_max);
CFS_MODULE_PARM(at_max, "i", int, 0644,
"Adaptive timeout maximum (sec)");