Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cleanup: add error message and simplify creation | Zdenek Kabelac | 2012-08-23 | 1 | -7/+3 |
| | | | | | Report error for malloc failure, and use zeroed allocation to initialize handler structure. | ||||
* | cleanup: use proper activation_change_t | Zdenek Kabelac | 2012-08-23 | 4 | -4/+8 |
| | |||||
* | cleanup: use static char[] array | Zdenek Kabelac | 2012-08-23 | 1 | -1/+1 |
| | |||||
* | cleanup: cast to matching type | Zdenek Kabelac | 2012-08-23 | 1 | -2/+2 |
| | |||||
* | cleanup: use return_NULL | Zdenek Kabelac | 2012-08-23 | 1 | -1/+1 |
| | | | | Function returns pointer, so use NULL. | ||||
* | cleanup: ignore write/close output | Zdenek Kabelac | 2012-08-23 | 1 | -2/+2 |
| | | | | Intentionaly ignore write and close errors. | ||||
* | cleanup: add va_end | Zdenek Kabelac | 2012-08-23 | 1 | -5/+7 |
| | | | | Pair va_start with va_end. | ||||
* | cleanup: uint64_t casts | Zdenek Kabelac | 2012-08-23 | 6 | -6/+6 |
| | |||||
* | cleanup: keep MKNOD type cast clean | Zdenek Kabelac | 2012-08-23 | 5 | -8/+8 |
| | | | | Setup major already a dev_t type before it gets shifted. | ||||
* | cleanup: add standard GPL file header | Zdenek Kabelac | 2012-08-23 | 1 | -1/+25 |
| | | | | Add FIXME about DEBUG define colission. | ||||
* | cleanup: use <> for system header file | Zdenek Kabelac | 2012-08-23 | 1 | -1/+1 |
| | |||||
* | cleanup: drop unneeded included header files | Zdenek Kabelac | 2012-08-23 | 47 | -117/+0 |
| | | | | | This headers were not resolving anything used for compiled .c files. Remove unused util.c file. | ||||
* | cmirrord: check for result of chdir | Zdenek Kabelac | 2012-08-23 | 1 | -1/+5 |
| | | | | Error exit if chdir fails. | ||||
* | dmsetup: check if new_name is non NULL | Zdenek Kabelac | 2012-08-23 | 2 | -1/+2 |
| | |||||
* | dmsetup: fix udev warning message | Zdenek Kabelac | 2012-08-23 | 1 | -1/+1 |
| | | | | Configure option is --enable-udev_sync. | ||||
* | dmsetup: fix memleak in _get_split_name | Zdenek Kabelac | 2012-08-23 | 2 | -1/+7 |
| | | | | Free allocated buffer in _get_split_name error path. | ||||
* | clvmd: release excl_uuid hash | Zdenek Kabelac | 2012-08-23 | 1 | -1/+2 |
| | | | | Release allocated hash before exit. | ||||
* | lvmetad: do not deref NULL pointer | Zdenek Kabelac | 2012-08-23 | 2 | -1/+4 |
| | | | | Call log only for req.cft != NULL. | ||||
* | lvmetad: fix memleak on error path | Zdenek Kabelac | 2012-08-23 | 1 | -1/+3 |
| | | | | Release allocated buffer on error path. | ||||
* | lvmetad: fix memleaks | Zdenek Kabelac | 2012-08-23 | 2 | -1/+7 |
| | | | | Release allocated buffers in daemon_logf, daemon_log_parse | ||||
* | mirror: reconfigure_mirror_images not used | Peter Rajnoha | 2012-08-15 | 2 | -0/+6 |
| | |||||
* | thin: lvcreate --discards | Zdenek Kabelac | 2012-08-09 | 5 | -1/+15 |
| | |||||
* | thin: fix man page for lvs | Zdenek Kabelac | 2012-08-09 | 2 | -1/+2 |
| | | | | Renamed discard -> discards | ||||
* | thin: fix condition for kernels without discards | Zdenek Kabelac | 2012-08-09 | 2 | -2/+3 |
| | | | | | Report warning if the kernel is not support given discards settings. (In this case the behavior is equal to IGNORE.) | ||||
* | thin: default discards for old mda is IGNORE | Zdenek Kabelac | 2012-08-09 | 2 | -1/+5 |
| | | | | | If the discard was not set in metadata, use IGNORE, as this is the equivalent behavior for this case. | ||||
* | RAID: Improve RAID argument handling. | Jonathan Brassow | 2012-08-08 | 2 | -0/+22 |
| | | | | | Disallow '-m' for RAID types that have no mirror component and disallow '-i' argument for RAID types that have no stripe component. | ||||
* | libdaemon: Draft logging infrastructure. | Petr Rockai | 2012-08-08 | 7 | -56/+245 |
| | | | | | | | | | | | - logging is not controlled by "levels" but by "types"; types are independent of each other... implementation of the usual "log level" user-level semantics can be simply done on top; the immediate application is enabling/disabling wire traffic logging independently of other debug data, since the former is rather bulky and can easily obscure almost everything else - all logs go to "outlets", of which we currently have 2: syslog and stderr; which "types" go to which "outlets" is entirely configurable | ||||
* | thin: fix recent commits | Alasdair G Kergon | 2012-08-07 | 1 | -11/+10 |
| | |||||
* | thin: use discards as plural rather than singular | Alasdair G Kergon | 2012-08-07 | 17 | -89/+89 |
| | | | | Global change from --discard to --discards, as that feels more natural. | ||||
* | release: update version/WHATS_NEW | Alasdair G Kergon | 2012-08-07 | 4 | -23/+24 |
| | |||||
* | thin: tidy thin discard code | Alasdair G Kergon | 2012-08-07 | 1 | -22/+13 |
| | | | | | | | | | Always store discard setting in LV metadata. (Note that lvcreate_params doesn't yet use --discard to set the initial value.) Remove undocumented env var LVM_THIN_VERSION_MIN that has no use on a live system. Change verbose 'feature not found' messages to debug. Use discard_str for string value of discard. | ||||
* | man: expand lvchange --discard entry | Alasdair G Kergon | 2012-08-07 | 1 | -1/+6 |
| | |||||
* | thin: tidy commands.h arg lists | Alasdair G Kergon | 2012-08-07 | 1 | -11/+8 |
| | | | | | | args are listed alphabetically. lvconvert -T is covered in the second section not the first. It could be tidied further or split out. | ||||
* | thin: mention discard/zero in lvchange errmsg | Alasdair G Kergon | 2012-08-07 | 1 | -5/+4 |
| | |||||
* | whitespace | Alasdair G Kergon | 2012-08-07 | 1 | -1/+0 |
| | |||||
* | report: provide discard field value in full | Alasdair G Kergon | 2012-08-07 | 2 | -17/+6 |
| | | | | | | | | | I think it's better not to abbreviate human-readable fields like 'discard' to a single character. Users can truncate it to the first character themselves if they wish. It's confusing to use the variable name discard for different things in different places - use discard_str when it's a string not the enum. | ||||
* | activation: log target version present | Alasdair G Kergon | 2012-08-07 | 1 | -0/+5 |
| | | | | Log (very verbose) the target version present in target_version. | ||||
* | thin: tighten discard string conversions | Alasdair G Kergon | 2012-08-07 | 1 | -6/+3 |
| | | | | | | | | | Respond with "unknown" rather than a NULL pointer if there's an internal error and the discard value is invalid. Don't accept 'no_passdown' or 'no-passdown' variants in the LVM metadata: this is written by the program so should only ever contain "nopassdown" and should be validated strictly against that. | ||||
* | thin: order discard enum alphabetically | Alasdair G Kergon | 2012-08-07 | 1 | -2/+2 |
| | |||||
* | comments: misc updates | Alasdair G Kergon | 2012-08-07 | 4 | -10/+11 |
| | | | | Miscellaneous clarifications to comments. | ||||
* | man: document allocation process in lvm.8 | Alasdair G Kergon | 2012-08-07 | 2 | -61/+130 |
| | |||||
* | args: increase major:minor limit to 4095:1048575 | Peter Rajnoha | 2012-08-06 | 6 | -38/+48 |
| | | | | | | | | | Remove the limit for major and minor number arguments used while specifying persistent numbers via -My --major <major> --minor <minor> option which was set to 255 before. Follow the kernel limit instead which is 12 bits for major and 20 bits for minor number (kernel >= 2.6 and LVM formats that does not have FMT_RESTRICTED_LVIDS - so still keep the old limit of 255 for lvm1 format). | ||||
* | [lvmetad] Continue reading/writing on EINTR | Marian Csontos | 2012-08-02 | 1 | -4/+4 |
| | |||||
* | Remove redundant (potentially harmful) semicolon | Marian Csontos | 2012-08-02 | 1 | -1/+1 |
| | |||||
* | lvmetad: Skip redundant checks on no input | Marian Csontos | 2012-08-02 | 1 | -14/+13 |
| | |||||
* | make: fix make in scripts dir for --disable-applib | Peter Rajnoha | 2012-08-01 | 1 | -5/+14 |
| | |||||
* | Fix dependecy build for scripts dir | Zdenek Kabelac | 2012-08-01 | 1 | -0/+1 |
| | | | | Since now scripts builds binaries, build needs to wait for libs. | ||||
* | systemd: O_CLOEXEC not needed in activation generator | Peter Rajnoha | 2012-08-01 | 1 | -1/+1 |
| | | | | | O_CLOEXEC not actually needed, this is just a simple program, it is not supposed to fork/exec anywhere and anytime in the future. | ||||
* | make: use proper libs to make scripts subdir | Peter Rajnoha | 2012-08-01 | 1 | -1/+6 |
| | |||||
* | systemd: integrate lvm2 activation generator with conf+make | Peter Rajnoha | 2012-07-31 | 6 | -10/+45 |
| |