summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* More .gitignore files for an in-source-tree build.Alasdair G Kergon2012-06-081-0/+3
| | | | Tell git to ignore files generated by a build inside the source tree.
* Add .gitignore files for an in-source-tree build.Alasdair G Kergon2012-06-081-0/+1
| | | | Tell git to ignore files generated by a build inside the source tree.
* expose new include files to buildAlasdair Kergon2012-02-281-0/+3
|
* Missed update for include/.symlinks.in to include lvmetad.h.Petr Rockai2012-02-231-0/+1
|
* Do not scan device if it is part of active multipath.Milan Broz2011-11-111-0/+1
| | | | | | | | | | | | | | | | | | | Add filter which tries to check if scanned device is part of active multipath. Firstly, only SCSI major number devices are handled in filter. Then it checks if device has exactly one holder (in sysfs) and if it is device-mapper device and DM-UUID is prefixed by "MPATH-". If so, this device is filtered out. The whole filter can be switched off by setting mpath_component_detection in lvm.conf. https://bugzilla.redhat.com/show_bug.cgi?id=597010 Signed-off-by: Milan Broz <mbroz@redhat.com>
* Refactor the percent (mirror sync, snapshot usage) handling code to usePetr Rockai2010-11-301-0/+1
| | | | fixed-point values instead of a combination of a float value and an enum.
* Fix include commit and switch to use DISTCLEAN_TARGETSZdenek Kabelac2010-11-081-4/+3
| | | | | | | | Fixing warning introduced by 'include make.tmpl' commit. Produced this warning: Makefile:29: warning: overriding commands for target `distclean' ../make.tmpl:366: warning: ignoring old commands for target `distclean'
* Use include make.tmplZdenek Kabelac2010-11-051-16/+2
| | | | Makes easier to use recursive targets and simplifies Makefile.
* Refactor metadata.[ch] into lv.[ch] for lv functions.Dave Wysochanski2010-09-301-0/+1
| | | | | | This patch is similar to the other patches for pv and vg functionality, and separates lv functionality into separate files, concentrating on reporting fields and simple functions.
* Refactor metadata.[ch] into pv.[ch] for pv functions.Dave Wysochanski2010-09-301-0/+1
| | | | | | | | | The metadata.[ch] files are very large. This patch makes a first attempt at separating out pv functions and data, particularly related to the reporting fields calculations. More code could be moved here but for now I'm stopping at reporting functions 'get' / 'set' functions.
* Refactor metadata.[ch] into vg.[ch] for vg functions.Dave Wysochanski2010-09-301-0/+1
| | | | | | The metadata.[ch] files are very large. This patch makes a first attempt at separating out vg functions and data, particularly related to the reporting fields calculations.
* Add properties.[ch] to lib/report, defined based on columns.h.Dave Wysochanski2010-08-201-0/+1
| | | | | | | | | | | | | | | Extend the existing reporting infrastructure definitions and structures to include a 'get' and 'set' function for each field. We will provide a 'get' and 'set' function for each of these fields, which will be utilized by exported lvm2app functions. Define a default _not_implemented 'get' and 'set' function that just sets an errno and returns 0. Future patches will actually implement the specific 'get' and 'set' functions for each property. For read-only properties, only the 'get' function will be implemented. Define vg_get_property() function to query a property. We will call this from a lvm2app function.
* Do not use VPATH in include/MakefileZdenek Kabelac2010-08-021-1/+0
|
* Update cflow file generation - support build dir and use $(top_srcdir)Zdenek Kabelac2010-03-291-2/+1
| | | | | | | to obtain sources. Create make.tmpl target for simplier generation of cflow files with the help of CFLOW_LIST, CFLOW_LIST_TARGET, CFLOW_TARGET. Still cflow usage is not perfect.
* Add libdevmapper-event-lvm2.so to serialise dmeventd plugin liblvm2cmd use.Alasdair Kergon2010-01-211-0/+1
|
* Allow for a build directory separate from the source.Alasdair Kergon2009-10-023-64/+65
|
* Cluster log daemon (clogd): use LVM bitops in place of ext2 bitopsJonathan Earl Brassow2009-08-131-0/+1
| | | | | | | | | | | Eliminate dependency on outside library, since the same functionality exists in our tree. [It is important that the bitops work in the same way, as the bitmaps must remain backwards compatible. I haven't tested every architecture, but the x86* archs work. My test involved using the old ext2fsprogs bitops, memcpy'ing the bits over to the LVM bitset array and ensuring that only the bits set via the old methods were set.]
* Remove pv_t, vg_t & lv_t handles from lib. Only liblvm uses them.Alasdair Kergon2009-07-291-1/+1
| | | | Rename lvm.h to lvm2app.h for now.
* Introduce lvm2_install target.Milan Broz2009-05-111-0/+2
| | | | | | | | | | | | | | | Buildsystem support device-mapper only install, but generic install tagret includes both dm+lvm2. For distribution which uses separate install_device-mapper, there is no way how to install lvm2 only (so after installing lvm2 for packaging purposes built system must remove installed device-mapper files). Fix it by allowing lvm2_install target, similarily like install_cluster for clvmd. (install = install_device-mapper + install_lvm2)
* Move lvm.h from lib to liblvm.Dave Wysochanski2009-03-061-1/+1
|
* Fix include/.symlinks for lvm2.h to lvm.h renamingThomas Woerner2009-02-241-1/+1
| | | | Author: Thomas Woerner <twoerner@redhat.com>
* Move tools/version.h to lib/misc/lvm-version.h.Alasdair Kergon2009-02-221-1/+1
| | | | Split LVM_VERSION into MAJOR, MINOR, PATCHLEVEL, RELEASE and RELEASE_DATE.
* Add liblvm interactive test infrastructure to build.Dave Wysochanski2008-12-071-0/+1
|
* make install_device-mapperAlasdair Kergon2008-11-041-1/+3
|
* more missing bitsAlasdair Kergon2008-11-041-1/+0
|
* more tweaking to get things to compile - dmlib.h for log fns, list.hAlasdair Kergon2008-11-031-1/+2
|
* further progressAlasdair Kergon2008-11-011-0/+2
|
* add libdevmapper-event.hAlasdair Kergon2008-10-311-0/+1
|
* drop configure --with-dmdirAlasdair Kergon2008-10-311-0/+1
|
* Add dm-logging.h ready for libdevmapper.Alasdair Kergon2008-10-301-0/+1
|
* Split out lvm-logging.h from log.h.Alasdair Kergon2008-10-301-0/+2
|
* Add libdm subdir to begin merging the device-mapper tree.Alasdair Kergon2008-10-301-0/+2
|
* Fix the fsadm build failure without using -llvm.Jim Meyering2007-10-031-0/+1
| | | | | | | | | | | | * lib/misc/util.c (last_path_component): Move definition to ... * lib/misc/last-path-component.h (last_path_component): ...here. New file. Make the function "static inline". * include/.symlinks: Add last-path-component.h. * lib/misc/util.h (last_path_component): Remove declaration. * tools/fsadm/fsadm.c: Include "last-path-component.h". * tools/lvmcmdline.c: Likewise. Author: Jim Meyering <meyering@redhat.com>
* Correct typo in comments: s/is part of the LVM2/is part of LVM2/.Jim Meyering2007-09-211-1/+1
| | | | | | | Signed-off-by: Jim Meyering <jim@meyering.net> Author: Jim Meyering <jim@meyering.net>
* Eliminate uses of strdup+basename. Use last_path_component instead.Jim Meyering2007-07-201-0/+1
| | | | | | | | | | * lib/misc/util.c, lib/misc/util.h (last_path_component): New files. * lib/Makefile.in (SOURCES): Add misc/util.c. * lib/misc/lib.h: Include "util.h". * tools/fsadm/fsadm.c: Include "util.h". (_usage): Use last_path_component, not basename. * tools/lvmcmdline.c (_find_command, lvm2_main): Likewise. * include/.symlinks: Add lib/misc/util.h.
* Split metadata-external.h out from metadata.h for the tools to use.Alasdair Kergon2007-07-181-0/+1
|
* Move regex functions into libdevmapper.Alasdair Kergon2007-04-271-1/+0
|
* Add lvm_getpagesize wrapper.Alasdair Kergon2006-08-171-0/+1
|
* Make SIZE_SHORT the default for display_size().Alasdair Kergon2006-05-091-0/+1
| | | | | | | Fix some memory leaks in error paths found by coverity. Use C99 struct initialisers. Move DEFS into configure.h. Clean-ups to remove miscellaneous compiler warnings.
* Check for libsepol.Alasdair Kergon2006-04-191-0/+2
| | | | | | Add some cflow & scope support. Separate out DEFS from CFLAGS. Remove inlines and use unique function names.
* Move set_selinux_context into libdevmapperAlasdair Kergon2005-10-251-1/+0
|
* Attempt to load missing targets using modprobe.Alasdair Kergon2005-10-171-0/+1
| | | | Simplify dev_manager_info().
* Use hash, bitset, malloc, pool from libdevmapper.Alasdair Kergon2005-10-161-4/+0
|
* Move archiver code from tools into library.Alasdair Kergon2005-05-171-0/+1
|
* Initial pv_segment code.Alasdair Kergon2005-04-191-0/+1
|
* Configure/makefile tidy.Alasdair Kergon2004-11-261-0/+1
|
* Rename old segtypes files to segtype.Alasdair Kergon2004-09-161-1/+1
|
* Cluster-extension-only installation.Alasdair Kergon2004-08-181-1/+3
|
* Add cluster support.Alasdair Kergon2004-06-241-0/+1
|
* Add read-only GFS pool support.Alasdair Kergon2004-06-071-0/+1
|