[lvm-devel] [RFC PATCH 7/7] introduce metadata cache feature
Takahiro Yasui
tyasui at redhat.com
Thu Apr 2 17:19:34 UTC 2009
Add backup/metadata_cache parameter to enable the metadata cache
feature. Another new parameter, metadata_cache_dir will be added
in the future version to indicate metadata cache directory.
Signed-off-by: Takahiro Yasui <tyasui at redhat.com>
---
doc/example.conf | 6 ++++++
1 file changed, 6 insertions(+)
Index: LVM2.02.46-cvs-20090324/doc/example.conf
===================================================================
--- LVM2.02.46-cvs-20090324.orig/doc/example.conf
+++ LVM2.02.46-cvs-20090324/doc/example.conf
@@ -187,6 +187,12 @@ backup {
# What is the minimum time you wish to keep an archive file for ?
retain_days = 30
+
+ # Use metadata cache to get lvm structures in the system instead of
+ # scanning all devices every time. If any errors are detected, lvm
+ # commands fall back to not use metadata cache.
+ # 1 enables; 0 disables.
+ # metadata_cache = 0
}
# Settings for the running LVM2 in shell (readline) mode.
More information about the lvm-devel
mailing list