Remove the old and obsolete --enable-bgl configure option.
Lustre no longer supports the old kernel that BG/L systems
use, and we do not use this opton on the later BG/P and
BG/Q systems.
Change-Id: Iea0b893fd67fe5242fa65ebc8993c1f2b0863ae6
Signed-off-by: Christopher J. Morrone <morrone2@llnl.gov>
Reviewed-on: http://review.whamcloud.com/4841
Tested-by: Hudson
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Yang Sheng <yang.sheng@intel.com>
])
#
-# LB_CONFIG_BGL
-#
-# Enable BGL features
-#
-AC_DEFUN([LB_CONFIG_BGL],
-[AC_MSG_CHECKING([whether to build BGL features])
-AC_ARG_ENABLE([bgl],
- AC_HELP_STRING([--enable-bgl],
- [enable building of BGL features]),
- [enable_bgl='yes'],[enable_bgl='no'])
-AC_MSG_RESULT([$enable_bgl])
-if test x$enable_bgl != xno; then
- AC_DEFINE(HAVE_BGL_SUPPORT, 1, Enable BGL Features)
- enable_doc='no'
- enable_tests='no'
- enable_server='no'
- enable_liblustre='no'
- enable_libreadline='no'
-fi
-])
-
-#
# LB_PATH_SNMP
#
# check for in-tree snmp support
LB_INCLUDE_RULES
-LB_CONFIG_BGL
LB_PATH_DEFAULTS
LB_PROG_CC
extern int cfs_trace_copyout_string(char *usr_buffer, int usr_buffer_nob,
const char *knl_buffer, char *append);
-#if defined(HAVE_BGL_SUPPORT)
-#define LIBCFS_DEBUG_FILE_PATH_DEFAULT "/bgl/ion/tmp/lustre-log"
-#elif defined(__arch_um__)
+#if defined(__arch_um__)
#define LIBCFS_DEBUG_FILE_PATH_DEFAULT "/r/tmp/lustre-log"
#elif defined(__WINNT__)
#define LIBCFS_DEBUG_FILE_PATH_DEFAULT "\\SystemRoot\\temp\\lustre-log"
CFS_MODULE_PARM(keepalive_idle, "i", int, 0644,
"# idle seconds before probe");
-#ifdef HAVE_BGL_SUPPORT
-#define DEFAULT_KEEPALIVE_COUNT 100
-#else
#define DEFAULT_KEEPALIVE_COUNT 5
-#endif
static int keepalive_count = DEFAULT_KEEPALIVE_COUNT;
CFS_MODULE_PARM(keepalive_count, "i", int, 0644,
"# missed probes == dead");
#define OBD_LDLM_DEVICENAME "ldlm"
-#ifdef HAVE_BGL_SUPPORT
-/* 1.5 times the maximum 128 tasks available in VN mode */
-#define LDLM_DEFAULT_LRU_SIZE 196
-#else
#define LDLM_DEFAULT_LRU_SIZE (100 * cfs_num_online_cpus())
-#endif
#define LDLM_DEFAULT_MAX_ALIVE (cfs_time_seconds(36000))
#define LDLM_CTIME_AGE_LIMIT (10)
#define LDLM_DEFAULT_PARALLEL_AST_LIMIT 1024
si_meminfo(&si);
pages = si.totalram - si.totalhigh;
if (pages >> (20 - CFS_PAGE_SHIFT) < 512) {
-#ifdef HAVE_BGL_SUPPORT
- lru_page_max = pages / 4;
-#else
lru_page_max = pages / 2;
-#endif
} else {
lru_page_max = (pages / 4) * 3;
}