summaryrefslogtreecommitdiffstats
path: root/configure.in
Commit message (Collapse)AuthorAgeFilesLines
* Update configure changeZdenek Kabelac2012-03-141-3/+3
| | | | | Always define THIN_CHECK_CMD define - since for now we compile thin code in more places.
* Add --with-thin-check configure optionZdenek Kabelac2012-03-141-0/+19
| | | | | If specified - use given path without test (Path could be empty) If autodetection is in use - check for command in available PATH.
* Allow cluster mirrors to handle the absence of the checkpoint lib (libSaCkpt).Jonathan Earl Brassow2012-02-291-1/+6
| | | | | | | | | | | | The OpenAIS checkpoint library is going away; therefore, cmirrord must operate without it. The algorithms the handle the timing of when to send a checkpoint, the determination of what to send, and which ongoing cluster requests are relevent with respect to the checkpoints are unaffected. We need only replace the functions that actually perform the storing/transmitting and retrieving/receiving of the checkpoint data. Rather than store the checkpoint data in an OpenAIS checkpoint file, we simply transmit it along with the message that notifies the incoming node that the checkpoint is ready.
* Define LVMETAD_SUPPORT in source codeAlasdair Kergon2012-02-281-1/+7
|
* Add LVMetaD init script.Peter Rajnoha2012-02-241-0/+1
|
* Use DEFAULT_RUN_DIR instead of hardcoded value in lvmetad systemd unitsPeter Rajnoha2012-02-231-0/+1
| | | | | and add ExecStartPost=vgscan to actually run the first scan that will fill the metadata daemon with metadata information.
* Add LVMetaD systemd units.Peter Rajnoha2012-02-231-0/+1
|
* Add configure --with-tmpfilesdir and lvm2 tmpfiles.d configuration file itself.Peter Rajnoha2012-02-221-0/+7
| | | | | | | | | | | /etc/tmpfiles.d directory holds configuration files for temporary/volatile files and directories that should be automatically managed. For example, if we have some parts of the fs hierarchy on tmpfs, we'd like to recreate some files or directories on every boot so they're always prepared for use. Systemd can read such configuration files. For now, the lock and run directory are the ones that are most probably placed on tmpfs. If this is the case, we can install the configuration by 'make install_tmpfiles_configuration'.
* Check whether udev supports built-in blkid.Peter Rajnoha2012-02-201-0/+12
| | | | | | Built-in blkid is supported since udev v176 - set the UDEV_HAS_BUILTIN_BLKID variable appropriately so we can use it in the rules to call the built-in blkid conditionaly.
* Add configure --with-default-name-mangling.Peter Rajnoha2012-02-151-0/+14
| | | | | | | | | | This option configures the default name mangling mode used, one of: AUTO, NONE and HEX. The name mangling is primarily used to support udev character whitelist (0-9, A-Z, a-z, #*-.:=@_) so any character that is not on udev whitelist will get translated into an encoded form \xNN where NN is the hex value of the character.
* Add configure --with-systemdsystemunitdir.Peter Rajnoha2012-02-131-0/+17
|
* In the new corosync world, dlm is a standalone service.Fabio M. Di Nitto2012-02-131-0/+9
| | | | | Fix clvmd init script to Require dlm service when building for the new corosync or clvmd will fail to start.
* Automatically detect whether corosync clvmd needs to use confdb or cmap. (fabio)Alasdair Kergon2012-01-311-7/+34
|
* Fix metad help.Alasdair Kergon2012-01-231-2/+2
|
* Thin add dmeventd supportZdenek Kabelac2011-12-211-0/+1
| | | | | This is basic version with still few unresolved issue mainly in case, when the pool resize is failing.
* Use pkg-config to look for CUnit (needed for systems where it's not on thePetr Rockai2011-12-111-4/+3
| | | | standard include path).
* Add CUnit testing supportZdenek Kabelac2011-11-211-5/+4
| | | | Regenerate configure for unit test support.
* Implement a CUnit-based runner for unit tests. Copy and adapt (actual unit)Petr Rockai2011-11-201-0/+1
| | | | | | | tests from unit-tests/*/*_t.c (now under test/unit). The valgrind/pool test is missing, since it's not really a unit test and probably not too valuable either. Available via "make unit" (and if --enable-testing was passed to configure, also executed by make check).
* Make dmsetup.static and lvm.static build when dmeventd is disabled.Alasdair Kergon2011-11-141-1/+4
| | | | | | | | udev may also need to be disabled if you didn't build it statically too. dmeventd.static could be fixed with some more work but I don't really see the point: without dlopen() it's useless, and if you have dlopen(), why not support normal shared libraries too?
* Use Makefile for daemmons/common library.Zdenek Kabelac2011-09-241-0/+1
| | | | | | | | | Next iteration for better fit of lvmetad compilation. Move build of libdaemon.a into common subdir Makefile. libdaemon.a is device-mapper target. Build and install lvmetad as lvm2 target.
* CLVMD support for LVM_CLVMD_BINARY and LVM_BINARYZdenek Kabelac2011-09-241-3/+6
| | | | | | | | Read 2 environmental vars to learn about overide position for CLVMD and LVM binaries. We support LVM_BINARY in other script - and this way we could easily test restart in our test-suite.
* A compromise integration of LVMetaD into the build: I have kept all thePetr Rockai2011-08-311-0/+14
| | | | | | | | | | daemon/common code in a single libdaemon.a, which is completely private. This is currently linked into the lvmetad binary, and will be linked into LVM (the client part, since static linking only picks up only symbols that are actually used). I have also added --enable/disable-lvmetad to ./configure; although the current default is off, I expect this to be flipped to on shortly. There's no LVM-side support yet, but when there is, even when built, it'll still need to be enabled by an lvm.conf option.
* Initial code layout for thin provisioning targetZdenek Kabelac2011-08-241-0/+19
| | | | | | | Only registers init_thin_segtype Option --with-thin=internal needed for compilation. For now useful only for developememt!
* Drop CCS* variables no longer used.Alasdair Kergon2011-08-121-2/+0
|
* pre-release fixes incl make distclean and configure --with-raid=none/sharedAlasdair Kergon2011-08-111-0/+1
|
* Add dmeventd monitoring for RAID devices.Jonathan Earl Brassow2011-08-111-1/+2
|
* Remove obsoleted GULM clvmd cluster locking support.Milan Broz2011-08-091-46/+3
|
* Remove support for the original dm ioctl interface version 1.Alasdair Kergon2011-08-091-0/+8
| | | | | Leave the basic support for multiple versions in case we have a new version in future.
* Add basic RAID segment type(s) support.Jonathan Earl Brassow2011-08-021-2/+24
| | | | | | | | | | | | | Implementation described in doc/lvm2-raid.txt. Basic support includes: - ability to create RAID 1/4/5/6 arrays - ability to delete RAID arrays - ability to display RAID arrays Notable missing features (not included in this patch): - ability to clean-up/repair failures - ability to convert RAID segment types - ability to monitor RAID segment types
* Configure and makefile changes for newly added systemd unit files.Peter Rajnoha2011-07-281-0/+3
|
* Add missing pkg_config_init check with --enable-udev_sync.Alasdair Kergon2011-04-281-0/+4
|
* Require libudev >= 143 when compiling with udev support.Peter Rajnoha2011-04-221-3/+1
| | | | | Old versions of libudev < 143 were experimental and unstable. Require recent and stable versions only (version 143 is old enough anyway).
* Add configure option --with-device-nodes-onZdenek Kabelac2011-02-041-0/+13
| | | | | | | | | | Make configurable default behaviour how to deal with device node creates. With udev system natural options should be 'resume'. For older systems where user expect there is node in /dev/mapper immediately after dmsetup create --notable - use 'create' FIXME: Code needs fixing passing this flag through udev cookie.
* Improve OCF dir supportZdenek Kabelac2011-01-101-0/+5
| | | | | Add --with-ocfdir configurable option. Fix superfluous /usr in ocf_scriptdir instalation path.
* Add new dm_prepare_selinux_context fn to libdevmapper and use it throughout.Peter Rajnoha2010-12-131-0/+1
| | | | | | | | | | | Detect existence of new SELinux selabel interface during configure. Use new dm_prepare_selinux_context instead of dm_set_selinux_context. We should set the SELinux context before the actual file system object creation. The new dm_prepare_selinux_context function sets this using the selabel_lookup fn in conjuction with the setfscreatecon fn. If selinux/label.h interface (that should be a part of the selinux library) is not found during configure, we fallback to the original matchpathcon function instead.
* Add OCF supportZdenek Kabelac2010-11-051-0/+10
| | | | | | | | | | | | Updated patch from Florian Haas from Linux-HA project. User needs to 'configure --enable-ocf' to get file installed by 'make install' target by default. User can also use 'make install_ocf' to get only ocf files installed. With disabled (default) ocf support - no ocf files are installed. FIXME: ocf installation path needs to be kept in sync with pacemaker. find better way and possible also better location.
* Don't use floor() in _bitset_with_random_bitsZdenek Kabelac2010-10-131-2/+1
| | | | | | | | | | | | | | | | | | | | | Use _even_rand() function instead of floor() in _bitset_with_random_bits(). floor() function is missing in dietlibc (on architectures other than x86). Moreover using floor() to clip rand results does not assure even result distribution. _even_rand() uses integer arithmetic only and is designed to return evenly distributed results. > Looks OK to me. It took a while to decipher what is the exact meaning of > the loop in _even_rand (to a non-pseudorandomness-expert) but I am > fairly comfortable with it now. If I understand this correctly, it > rejects numbers that come from an "incomplete" slice of the RAND_MAX > space (considering the number space [0, RAND_MAX] is divided into some > "max"-sized slices and at most a single smaller slice, between [n*max, > RAND_MAX] for suitable n -- numbers from this last slice are discarded > because they could distort the distribution in favour of smaller > numbers). Signed-off-by: Przemyslaw Iskra <sparky <at> pld-linux.org> Reviewed-by: Petr Rockai <prockai <at> redhat.com>
* Based on auto-detection or user requested cluster managers for clvmd,Fabio M. Di Nitto2010-08-231-4/+31
| | | | | | | | | | set appropriate Required-Start and Required-Stop at configure time. Reorder the checks for user selected cluster managers to match auto detected ones, to be consistent in the output. Add special case for qdiskd that´s started after cman/lock_gulmd for RHEL-4/RHEL-5.
* Switch to using configure --with-default-data-alignment=<NUM> toMike Snitzer2010-08-201-0/+10
| | | | | | establish DEFAULT_DATA_ALIGNMENT. Again, 0=64KiB, 1=1MiB, 2=2MiB Default is 1.
* Various small cleanups and fixes related to monitoring.Alasdair Kergon2010-08-161-0/+1
|
* [MM] Make valgrind aware of the pool allocatorsJoe Thornber2010-08-091-0/+14
| | | | ./configure with --enable-valgrind-pool to enable this.
* Fix configure to supply DEFAULT_RUN_DIR to Makefiles.Alasdair Kergon2010-07-311-0/+1
|
* Change clvmd to communicate with lvm via a socket in /var/run/lvm. (mbroz)Alasdair Kergon2010-07-281-0/+7
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=614248 [CVE-2010-2526]
* Add a unit test for the recent changes to dm_bit_get_next()Joe Thornber2010-07-201-0/+1
|
* Wire the regex tests up to the reportsJoe Thornber2010-07-201-0/+1
|
* Report generators for unit tests and memory checks. Configure withJoe Thornber2010-07-201-0/+17
| | | | --enable-testing.
* Add dm_create_lockfile to libdm to handle pidfiles for all daemons.Fabio M. Di Nitto2010-07-131-0/+12
| | | | | | Switch dmeventd to use dm_create_lockfile and drop duplicate code. Allow clvmd pidfile to be configurable. Switch cmirrord and clvmd to use dm_create_lockfile.
* Cleanups for configure:Zdenek Kabelac2010-07-081-147/+188
| | | | | | | | | Indent updates. Use AC_HELP_STRING for help string. Start help string with lower letter. Add [] around some default values i.e. [TYPE=internal]. Skip some "" around shell assigment when not needed. Fix typo --with-device-gid=UID string.
* Randomly select which mdas to use or ignore.Alasdair Kergon2010-07-051-5/+24
| | | | Add some missing standard configure.in checks.
* Fix wrong usage of exec_prefix from previous patch introducing LVM_PATH defineZdenek Kabelac2010-06-071-9/+6
| | | | | | | | | Introduce lvm_exec_prefix with resolved exec_prefix. (using same ac_default_prefix as for CLVMD_PATH) Use lvm_exec_prefix instead of dmeventd_prefix (fixes missing ac_default_prefix) Note: This patch is rather hot-fix as currently generate code does not create correct code for make exec_prefix=