1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-16 03:25:10 +03:00

cache: Enable cache segment type by default.

This commit is contained in:
Alasdair G Kergon 2014-09-17 23:13:15 +01:00
parent ab2dacf6f6
commit 8cbb04563a
3 changed files with 6 additions and 4 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.112 - Version 2.02.112 -
===================================== =====================================
Enable cache segment type by default.
Ensure only supported volume types are used with cache segments. Ensure only supported volume types are used with cache segments.
Fix inablility to specify cachemode when 'lvconvert'ing to cache-pool. Fix inablility to specify cachemode when 'lvconvert'ing to cache-pool.
Grab cluster lock for active LVs when setting clustered attribute. Grab cluster lock for active LVs when setting clustered attribute.

5
configure vendored
View File

@ -1668,7 +1668,8 @@ Optional Packages:
--with-thin-repair=PATH thin_repair tool: [[autodetect]] --with-thin-repair=PATH thin_repair tool: [[autodetect]]
--with-thin-restore=PATH --with-thin-restore=PATH
thin_restore tool: [[autodetect]] 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-check=PATH cache_check tool: [[autodetect]]
--with-cache-dump=PATH cache_dump tool: [[autodetect]] --with-cache-dump=PATH cache_dump tool: [[autodetect]]
--with-cache-repair=PATH --with-cache-repair=PATH
@ -7830,7 +7831,7 @@ $as_echo_n "checking whether to include cache... " >&6; }
if test "${with_cache+set}" = set; then : if test "${with_cache+set}" = set; then :
withval=$with_cache; CACHE=$withval withval=$with_cache; CACHE=$withval
else else
CACHE="none" CACHE="internal"
fi fi

View File

@ -500,8 +500,8 @@ dnl -- cache inclusion type
AC_MSG_CHECKING(whether to include cache) AC_MSG_CHECKING(whether to include cache)
AC_ARG_WITH(cache, AC_ARG_WITH(cache,
AC_HELP_STRING([--with-cache=TYPE], AC_HELP_STRING([--with-cache=TYPE],
[cache support: internal/shared/none [[TYPE=none]]]), [cache support: internal/shared/none [[TYPE=internal]]]),
CACHE=$withval, CACHE="none") CACHE=$withval, CACHE="internal")
AC_ARG_WITH(cache-check, AC_ARG_WITH(cache-check,
AC_HELP_STRING([--with-cache-check=PATH], AC_HELP_STRING([--with-cache-check=PATH],
[cache_check tool: [[autodetect]]]), [cache_check tool: [[autodetect]]]),