summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlasdair G Kergon <agk@redhat.com>2014-09-17 23:13:15 +0100
committerAlasdair G Kergon <agk@redhat.com>2014-09-17 23:13:15 +0100
commit8cbb04563ac240346693ec4da1587df20b049df7 (patch)
tree2b4504cf57eb40ede85f0f9602cd39313be7ee5e
parentab2dacf6f6aa18328a848238e45aeaac2ed0d064 (diff)
downloadlvm2-8cbb04563ac240346693ec4da1587df20b049df7.tar.gz
cache: Enable cache segment type by default.
-rw-r--r--WHATS_NEW1
-rwxr-xr-xconfigure5
-rw-r--r--configure.in4
3 files changed, 6 insertions, 4 deletions
diff --git a/WHATS_NEW b/WHATS_NEW
index 67c648238..bceed610d 100644
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
Version 2.02.112 -
=====================================
+ Enable cache segment type by default.
Ensure only supported volume types are used with cache segments.
Fix inablility to specify cachemode when 'lvconvert'ing to cache-pool.
Grab cluster lock for active LVs when setting clustered attribute.
diff --git a/configure b/configure
index be3d34d9b..6a15ed8e0 100755
--- a/configure
+++ b/configure
@@ -1668,7 +1668,8 @@ Optional Packages:
--with-thin-repair=PATH thin_repair tool: [[autodetect]]
--with-thin-restore=PATH
thin_restore tool: [[autodetect]]
- --with-cache=TYPE cache support: internal/shared/none [[TYPE=none]]
+ --with-cache=TYPE cache support: internal/shared/none
+ [[TYPE=internal]]
--with-cache-check=PATH cache_check tool: [[autodetect]]
--with-cache-dump=PATH cache_dump tool: [[autodetect]]
--with-cache-repair=PATH
@@ -7830,7 +7831,7 @@ $as_echo_n "checking whether to include cache... " >&6; }
if test "${with_cache+set}" = set; then :
withval=$with_cache; CACHE=$withval
else
- CACHE="none"
+ CACHE="internal"
fi
diff --git a/configure.in b/configure.in
index 70f3b78c6..3956ff073 100644
--- a/configure.in
+++ b/configure.in
@@ -500,8 +500,8 @@ dnl -- cache inclusion type
AC_MSG_CHECKING(whether to include cache)
AC_ARG_WITH(cache,
AC_HELP_STRING([--with-cache=TYPE],
- [cache support: internal/shared/none [[TYPE=none]]]),
- CACHE=$withval, CACHE="none")
+ [cache support: internal/shared/none [[TYPE=internal]]]),
+ CACHE=$withval, CACHE="internal")
AC_ARG_WITH(cache-check,
AC_HELP_STRING([--with-cache-check=PATH],
[cache_check tool: [[autodetect]]]),