From 64cde212577618fbd270b9952921d4bafb58a23e Mon Sep 17 00:00:00 2001 From: Nathan Neulinger Date: Thu, 5 Jul 2001 16:07:58 +0000 Subject: [PATCH] provide-fast-start-configure-options-20010705 add more configure options so fast restart and bitmap later options can be configured on --- acconfig.h | 3 +++ configure.in | 13 +++++++++++++ 2 files changed, 16 insertions(+) diff --git a/acconfig.h b/acconfig.h index 35d3f34ee..b615c3e42 100644 --- a/acconfig.h +++ b/acconfig.h @@ -21,3 +21,6 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } #undef AFS_AFSDB_ENV #undef AFS_NAMEI_ENV #undef BOS_RESTRICTED_MODE + +#undef FAST_RESTART +#undef BITMAP_LATER diff --git a/configure.in b/configure.in index 83d433480..70efdecac 100644 --- a/configure.in +++ b/configure.in @@ -17,6 +17,10 @@ AC_ARG_ENABLE( bos-restricted-mode, [ --enable-bos-restricted-mode enable bosserver restricted mode which disables certain bosserver functionality],, enable_bos_restricted_mode="no") AC_ARG_ENABLE( namei-fileserver, [ --enable-namei-fileserver force compilation of namei fileserver in preference to inode fileserver],, enable_namei_fileserver="no") +AC_ARG_ENABLE( fast-restart, +[ --enable-fast-restart enable fast startup of file server without salvaging],, enable_fast_restart="no") +AC_ARG_ENABLE( bitmap-later, +[ --enable-bitmap-later enable fast startup of file server by not reading bitmap till needed],, enable_bitmap_later="no") AC_ARG_WITH(linux-kernel-headers, [ --with-linux-kernel-headers=path use the kernel headers found at path(optional, defaults to /usr/src/linux)] ) @@ -177,6 +181,15 @@ if test "$enable_insecure" = "yes"; then WITH_INSECURE=YES fi +# Fast restart +if test "$enable_fast_restart" = "yes"; then + AC_DEFINE(FAST_RESTART) +fi + +if test "$enable_bitmap_later" = "yes"; then + AC_DEFINE(BITMAP_LATER) +fi + # Should autocompute a default if test "x$with_afs_sysname" != "x"; then AFS_SYSNAME="$with_afs_sysname" -- 2.39.5