| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Report any problem of fcntl.
|
|
|
|
|
| |
If the monitoring activation failed and we have not yet
reported error - give the user error message for failure reason.
|
|
|
|
| |
Use common subroutine.
|
|
|
|
| |
Just move in front
|
|
|
|
| |
Avoid dereferecing NULL pointer.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding couple INTERNAL_ERROR reports for unwanted parameters:
Ensure the 'top' metadata node cannot be NULL for lvmetad.
Make obvious vginfo2 cannot be NULL.
Report internal error if handler and vg is undefined.
Check for handle in poll_vg().
Ensure seg is not NULL in dev_manager_transient().
Report missing read_ahead for _lv_read_ahead_single().
Check for report handler in dm_report_object().
Check missing VG in _vgreduce_single().
|
|
|
|
|
| |
Report error for malloc failure, and use zeroed allocation
to initialize handler structure.
|
| |
|
| |
|
| |
|
|
|
|
| |
Function returns pointer, so use NULL.
|
|
|
|
| |
Intentionaly ignore write and close errors.
|
|
|
|
| |
Pair va_start with va_end.
|
| |
|
|
|
|
| |
Setup major already a dev_t type before it gets shifted.
|
|
|
|
| |
Add FIXME about DEBUG define colission.
|
| |
|
|
|
|
|
| |
This headers were not resolving anything used for compiled .c files.
Remove unused util.c file.
|
|
|
|
| |
Error exit if chdir fails.
|
| |
|
|
|
|
| |
Configure option is --enable-udev_sync.
|
|
|
|
| |
Free allocated buffer in _get_split_name error path.
|
|
|
|
| |
Release allocated hash before exit.
|
|
|
|
| |
Call log only for req.cft != NULL.
|
|
|
|
| |
Release allocated buffer on error path.
|
|
|
|
| |
Release allocated buffers in daemon_logf, daemon_log_parse
|
| |
|
| |
|
|
|
|
| |
Renamed discard -> discards
|
|
|
|
|
| |
Report warning if the kernel is not support given discards settings.
(In this case the behavior is equal to IGNORE.)
|
|
|
|
|
| |
If the discard was not set in metadata, use IGNORE, as this
is the equivalent behavior for this case.
|
|
|
|
|
| |
Disallow '-m' for RAID types that have no mirror component and disallow
'-i' argument for RAID types that have no stripe component.
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
| |
Global change from --discard to --discards, as that feels more natural.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
args are listed alphabetically.
lvconvert -T is covered in the second section not the first.
It could be tidied further or split out.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Log (very verbose) the target version present in target_version.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Miscellaneous clarifications to comments.
|
| |
|
|
|
|
|
|
|
|
|
| |
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).
|
| |
|