From e61800b992b5d54edb3656925a884753f02fc686 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Mon, 28 Jun 2010 13:48:00 -0500 Subject: [PATCH] Remove --enable-fast-restart configure option FIXES 127526 Change-Id: I80a18fe083a0d52dad9d4e2d5b14bf667c44630b Reviewed-on: http://gerrit.openafs.org/2278 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- acinclude.m4 | 15 --------------- src/packaging/RedHat/openafs.spec.in | 2 -- 2 files changed, 17 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index 9cf9d2258..d2cb0f58e 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -96,11 +96,6 @@ AC_ARG_ENABLE([supergroups], [enable support for nested pts groups])], , [enable_supergroups="no"]) -AC_ARG_ENABLE([fast-restart], - [AS_HELP_STRING([--enable-fast-restart], - [enable fast startup of file server without salvaging])], - , - [enable_fast_restart="no"]) AC_ARG_ENABLE([bitmap-later], [AS_HELP_STRING([--enable-bitmap-later], [enable fast startup of file server by not reading bitmap till @@ -1126,10 +1121,6 @@ if test "$enable_supergroups" = "yes"; then AC_DEFINE(SUPERGROUPS, 1, [define if you want to have support for nested pts groups]) fi -if test "$enable_fast_restart" = "yes"; then - AC_DEFINE(FAST_RESTART, 1, [define if you want to have fast restart]) -fi - if test "$enable_bitmap_later" = "yes"; then AC_DEFINE(BITMAP_LATER, 1, [define if you want to salvager to check bitmasks later]) fi @@ -1154,12 +1145,6 @@ else fi AC_SUBST(USE_UNIX_SOCKETS) -if test "$enable_fast_restart" = "yes" && - test "$enable_demand_attach_fs" = "yes" ; then - AC_MSG_ERROR([The Demand Attach and Fast Restart extensions are mutually exclusive. Demand Attach fileservers automatically salvage volumes in the background, thereby making Fast Restart pointless.]) - exit 1 -fi - if test "$enable_icmp_pmtu_discovery" = "yes"; then if test "$ac_cv_setsockopt_iprecverr" = "yes"; then AC_DEFINE(ADAPT_PMTU, 1, [define if you want to decode icmp unreachable packets to discover path mtu]) diff --git a/src/packaging/RedHat/openafs.spec.in b/src/packaging/RedHat/openafs.spec.in index 723494118..1006660bb 100644 --- a/src/packaging/RedHat/openafs.spec.in +++ b/src/packaging/RedHat/openafs.spec.in @@ -298,7 +298,6 @@ what gets built: --without krb5 Disable krb5 support (default: with krb5) --with bitmap-later Enable "bitmap later" support --with bos-restricted Enable "bos restricted" mode - --with fast-restart Enable "fast restart" mode --with largefiles Enable "largefile fileserver" mode --with supergroups Enable "supergroups" @@ -825,7 +824,6 @@ PrintRedhatKernelFix() { config_opts="--enable-redhat-buildsys \ %{?_with_bitmap_later:--enable-bitmap-later} \ %{?_with_bos_restricted:--enable-bos-restricted-mode} \ - %{?_with_fast_restart:--enable-fast-restart} \ %{?_with_largefiles:--enable-largefile-fileserver} \ %{?_with_supergroups:--enable-supergroups} \ --enable-transarc-paths" -- 2.39.5