From: Alasdair Kergon Date: Thu, 31 Aug 2006 20:56:33 +0000 (+0000) Subject: Change default locking_lib to liblvm2clusterlock.so. X-Git-Tag: v2_02_91~4431 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=1c792fad4f47826b1fe9b440783d57bb7f7f046c;p=lvm2.git Change default locking_lib to liblvm2clusterlock.so. --- diff --git a/WHATS_NEW b/WHATS_NEW index d9c9cf2ce..b301c623d 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.10 - ================================== + Change default locking_lib to liblvm2clusterlock.so. Add skip_dev_dir() to process command line VGs. Stop clvmd complaining about nodes that have left the cluster. Move lvm_snprintf(), split_words() and split_dm_name() into libdevmapper. diff --git a/doc/example.conf b/doc/example.conf index 277ced8f9..c4c6a07a4 100644 --- a/doc/example.conf +++ b/doc/example.conf @@ -223,6 +223,9 @@ global { # Search this directory first for shared libraries. # library_dir = "/lib" + + # The external locking library to load if locking_type is set to 2. + # locking_library = "liblvm2clusterlock.so" } activation { diff --git a/lib/config/defaults.h b/lib/config/defaults.h index ebeaf582f..31686f227 100644 --- a/lib/config/defaults.h +++ b/lib/config/defaults.h @@ -32,7 +32,7 @@ #define DEFAULT_MD_COMPONENT_DETECTION 1 #define DEFAULT_LOCK_DIR "/var/lock/lvm" -#define DEFAULT_LOCKING_LIB "lvm2_locking.so" +#define DEFAULT_LOCKING_LIB "liblvm2clusterlock.so" #define DEFAULT_MIRROR_LOG_FAULT_POLICY "allocate" #define DEFAULT_MIRROR_DEV_FAULT_POLICY "remove" diff --git a/man/lvm.conf.5 b/man/lvm.conf.5 index 104ed5a50..d6f963ab8 100644 --- a/man/lvm.conf.5 +++ b/man/lvm.conf.5 @@ -252,7 +252,7 @@ if \fBlocking_type\fP is set to 1. The default is \fB/var/lock/lvm\fP. .IP \fBlocking_library\fP \(em The name of the external locking library to load if \fBlocking_type\fP is set to 2. -The default is \fBlvm2_locking.so\fP. If you need to write +The default is \fBliblvm2clusterlock.so\fP. If you need to write such a library, look at the lib/locking source code directory. .TP \fBtags\fP \(em Host tag settings