Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | device_mapper: remove dbg_malloc. | Joe Thornber | 2018-06-08 | 1 | -2/+3 |
| | | | | | I wrote dbg_malloc before we had valgrind. These days there's just no need. | ||||
* | build: Don't generate symlinks in include/ dir | Joe Thornber | 2018-05-14 | 1 | -4/+4 |
| | | | | | | | As we start refactoring the code to break dependencies (see doc/refactoring.txt), I want us to use full paths in the includes (eg, #include "base/data-struct/list.h"). This makes it more obvious when we're breaking abstraction boundaries, eg, including a file in metadata/ from base/ | ||||
* | activate: Use macros for target and module names. | Alasdair G Kergon | 2016-03-22 | 1 | -2/+2 |
| | |||||
* | doc: change fsf address | Zdenek Kabelac | 2016-01-21 | 1 | -1/+1 |
| | | | | | Hmm rpmlint suggest fsf is using a different address these days, so lets keep it up-to-date | ||||
* | segtype: check for activation | Zdenek Kabelac | 2016-01-14 | 1 | -3/+6 |
| | | | | | Before setting static variable with check passed state, detect if we are allowed to talk to driver. | ||||
* | segtypes: Use SEG_TYPE_NAME_ string constants. | Alasdair G Kergon | 2015-09-22 | 1 | -1/+1 |
| | |||||
* | cleanup: remove unused headers | Zdenek Kabelac | 2014-11-13 | 1 | -2/+0 |
| | |||||
* | segtype: drop cmdcontex pointer | Zdenek Kabelac | 2014-10-30 | 1 | -2/+0 |
| | | | | | Users of context provide their cmd pointer, so don't keep it inside segtype. | ||||
* | cleanup: drop default implementation | Zdenek Kabelac | 2014-10-24 | 1 | -6/+0 |
| | | | | | | | | Now we reference segment name via lvseg_name() and we can drop default implementation and leave its function pointer to be NULL. Default give us 'return seg->segtype->name'. | ||||
* | cleanup: modules_needed only for devmapper | Zdenek Kabelac | 2014-04-30 | 1 | -2/+2 |
| | | | | | | Drop compilation of modules_needed and add_target_lin function when compiled without devmapper support. Cleanup surrounding ifdefs. | ||||
* | cleanup: reduce inclusion of unnecessary headers | Zdenek Kabelac | 2014-04-18 | 1 | -1/+0 |
| | | | | | Remove those file which are not needed by .c files or already include because the headers already needs them. | ||||
* | cleanup: drop unneeded included header files | Zdenek Kabelac | 2012-08-23 | 1 | -5/+0 |
| | | | | | This headers were not resolving anything used for compiled .c files. Remove unused util.c file. | ||||
* | Add lv_activate_opts structure | Zdenek Kabelac | 2011-06-17 | 1 | -0/+1 |
| | | | | | | | | | | | To avoid modification of 'read-only' volume group structure add a new structure to pass local data around the code for LV activation. As origin_only is one such flag - replace this parameter with new struct lv_activate_opts. More parameters might eventually become part of lv_activate_opts. | ||||
* | Replace malloc with zalloc when creating segment_type's | Jonathan Earl Brassow | 2011-03-25 | 1 | -1/+1 |
| | |||||
* | Remove const usage from destroy callbacks | Zdenek Kabelac | 2010-12-20 | 1 | -2/+2 |
| | | | | | | As const segment_type or const format_type are never released use their non-const version and remove const downcast from dm_free calls. This change fixes many gcc warnings we were getting from them. | ||||
* | Use __attribute__ consistently throughout. | Alasdair Kergon | 2010-07-09 | 1 | -9/+9 |
| | |||||
* | Attempt to load dm-zero module if zero target needed but not present. (mbroz) | Alasdair Kergon | 2009-05-27 | 1 | -1/+1 |
| | |||||
* | Fix last check-ins: seg can be NULL. | Alasdair Kergon | 2009-02-28 | 1 | -2/+3 |
| | |||||
* | Attempt cleanup in child before execing new binary in exec_cmd() | Alasdair Kergon | 2009-02-28 | 1 | -2/+2 |
| | |||||
* | Right, a simple build (without options) is working again. | Alasdair Kergon | 2008-11-03 | 1 | -1/+1 |
| | |||||
* | Add detection of clustered mirror log capability. | Milan Broz | 2008-04-07 | 1 | -1/+2 |
| | | | | Currently only check for kernel module presence. | ||||
* | Some whitespace tidy-ups. | Alasdair Kergon | 2008-01-30 | 1 | -6/+6 |
| | |||||
* | Use stack return macros throughout. | Alasdair Kergon | 2008-01-30 | 1 | -4/+2 |
| | |||||
* | Clean up numerous compiler warnings that crept in recently. | Alasdair Kergon | 2007-08-22 | 1 | -1/+1 |
| | | | | Remove several unused parameters from _allocate(). | ||||
* | Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. | Alasdair Kergon | 2007-08-20 | 1 | -3/+3 |
| | |||||
* | Split metadata-external.h out from metadata.h for the tools to use. | Alasdair Kergon | 2007-07-18 | 1 | -0/+1 |
| | |||||
* | Add segment parameter to target_present functions. | Alasdair Kergon | 2006-10-18 | 1 | -1/+1 |
| | |||||
* | Add LV column to reports listing kernel modules needed for activation. | Alasdair Kergon | 2006-10-03 | 1 | -0/+13 |
| | |||||
* | Fix lvcreate corelog validation. | Alasdair Kergon | 2006-05-16 | 1 | -1/+1 |
| | | | | | | | | | Add --config for overriding most config file settings from cmdline. Quote arguments when printing command line. Remove linefeed from 'initialising logging' message. Add 'Completed' debug message. Don't attempt library exit after reloading config files. Always compile with libdevmapper, even if device-mapper is disabled. | ||||
* | Make SIZE_SHORT the default for display_size(). | Alasdair Kergon | 2006-05-09 | 1 | -10/+12 |
| | | | | | | | 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 Kergon | 2006-04-19 | 1 | -16/+17 |
| | | | | | | Add some cflow & scope support. Separate out DEFS from CFLAGS. Remove inlines and use unique function names. | ||||
* | rename deptree | Alasdair Kergon | 2005-11-09 | 1 | -2/+2 |
| | |||||
* | Replacement activation code. [Don't use this yet!] | Alasdair Kergon | 2005-11-08 | 1 | -14/+9 |
| | |||||
* | Use hash, bitset, malloc, pool from libdevmapper. | Alasdair Kergon | 2005-10-16 | 1 | -5/+3 |
| | |||||
* | Rename old segtypes files to segtype. | Alasdair Kergon | 2004-09-16 | 1 | -1/+1 |
| | |||||
* | Write log message when each segtype/format gets initialised. | Alasdair Kergon | 2004-09-14 | 1 | -0/+2 |
| | |||||
* | Add --type to lvcreate/resize. | Alasdair Kergon | 2004-05-11 | 1 | -0/+101 |
Add virtual segment types, zero and error. A large sparse device can be constructed as a writeable snapshot of a large zero device. |