mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
LVM2 mirror repository
https://sourceware.org/lvm2/
e38aaddb5e
Add support for configuration checking - type checking and recognition of registered configuration settings that LVM2 understands and also check the structure of the configuration. Log error on any mismatch found. A hash over all allowed configuration paths is created which helps with matching the exact configuration (lvm.conf/--config tree) with the configuration item definition from config_settings.h in an efficient and one-step way. Two more helper flags are introduced for each configuration definition item: - CFG_USED which marks the item as being used (lvm.conf/--config) This helps with identifying missing configuration options (and for which defaults were used) when traversing the tree later. - CFG_VALID which denotes that the item has already been checked and it was found valid. This improves performance, so if the check is called once again on the same tree which was not reloaded, we can just return the state from previous check (with a possibility to force the check if needed). The new function that config.h exports and which is going to be used to perform the configuration checking is: int config_def_check(struct cmd_context *cmd, int force, int skip, int suppress_messages) ...which is exported internally via config.h. |
||
---|---|---|
autoconf | ||
daemons | ||
doc | ||
include | ||
lib | ||
libdaemon | ||
libdm | ||
liblvm | ||
man | ||
old-tests | ||
po | ||
python | ||
report-generators | ||
reports | ||
scripts | ||
test | ||
tools | ||
udev | ||
unit-tests | ||
.gitignore | ||
aclocal.m4 | ||
configure | ||
configure.in | ||
COPYING | ||
COPYING.LIB | ||
INSTALL | ||
make.tmpl.in | ||
Makefile.in | ||
README | ||
VERSION | ||
VERSION_DM | ||
WHATS_NEW | ||
WHATS_NEW_DM |
This tree contains the LVM2 and device-mapper tools and libraries. For more information about LVM2 read the changelog in the WHATS_NEW file. Installation instructions are in INSTALL. There is no warranty - see COPYING and COPYING.LIB. Tarballs are available from: ftp://sources.redhat.com/pub/lvm2/ The source code is stored in git: http://git.fedorahosted.org/git/lvm2.git git clone git://git.fedorahosted.org/git/lvm2.git Mailing list for general discussion related to LVM2: linux-lvm@redhat.com Subscribe from https://www.redhat.com/mailman/listinfo/linux-lvm Mailing lists for LVM2 development, patches and commits: lvm-devel@redhat.com Subscribe from https://www.redhat.com/mailman/listinfo/linux-lvm lvm2-commits@lists.fedorahosted.org (Read-only archive of commits) Subscribe from https://fedorahosted.org/mailman/listinfo/lvm2-commits Mailing list for device-mapper development, including kernel patches and multipath-tools: dm-devel@redhat.com Subscribe from https://www.redhat.com/mailman/listinfo/dm-devel The source code repository used until 7th June 2012 is accessible here: http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/?cvsroot=lvm2.