| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Disable private buffering when using liblvm.
When private stdin/stdout buffering is not used always use silent
mode.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Accept -q as the short form of --quiet.
Suppress non-essential standard output if -q is given twice.
Treat log/silent in lvm.conf as equivalent to -qq.
Review all log_print messages and change some to
log_print_unless_silent.
When silent, the following commands still produce output:
dumpconfig, lvdisplay, lvmdiskscan, lvs, pvck, pvdisplay,
pvs, version, vgcfgrestore -l, vgdisplay, vgs.
[Needs checking.]
Non-essential messages are shifted from log level 4 to log level 5
for syslog and lvm2_log_fn purposes.
|
|
|
|
|
|
| |
This patch adds support for RAID10. It is not the default at this
stage. The user needs to specify '--type raid10' if they would like
RAID10 instead of stacked mirror over stripe.
|
| |
|
|
|
|
|
|
|
| |
Fixes previous commit, it seems older gcc compilers do not
recognize same typedef.
(Easiest would be probably to directly include proper header here).
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Always initialize percent to INVALID value, in case target
would have forget to setup this value somehow.
|
|
|
|
| |
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.
|
| |
|