provide-fast-start-configure-options-20010705
authorNathan Neulinger <nneul@umr.edu>
Thu, 5 Jul 2001 16:07:58 +0000 (16:07 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 5 Jul 2001 16:07:58 +0000 (16:07 +0000)
add more configure options so fast restart and bitmap later options can be configured on

acconfig.h
configure.in

index 35d3f34..b615c3e 100644 (file)
@@ -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
index 83d4334..70efdec 100644 (file)
@@ -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"