# changelog

author: Peter Rajnoha <prajnoha@redhat.com> - 2.02.159-1
changelog:
  - Add raid0_meta segment type that provides metadata space for raid conversions.
  - Fix created link for a used pool for vgmknode.
  - Introduce and use is_power_of_2 macro.
  - Support conversions between striped and raid0 segment types.
  - Add infrastructure for raid takeover lvconvert options.
  - Update default dmstats field selections for groups.
  - Add 'obj_type', 'group_id', and 'statsname' fields to dmstats reports.
  - Add --area, --region, and --group to dmstats to control object selection.
  - Add --alias, --groupid, --regions to dmstats for group creation and deletion.
  - Add 'group' and 'ungroup' commands to dmstats.
  - Allow dm_stats_delete_group() to optionally delete all group members.
  - Add dm_stats_get_object_type() to return the type of object present.
  - Add dm_stats_walk_init() allowing control of objects visited by walks.
  - Add dm_stats_get_group_descriptor() to return the member list as a string.
  - Introduce dm_stats_get_nr_groups() and dm_stats_group_present().
  - Add dm_stats_{get,set}_alias() to set and retrieve alias names for groups.
  - Add dm_stats_get_group_id() to return the group ID for a given region.
  - Add dm_stats_{create,delete}_group() to allow grouping of stats regions.
  - Add enum-driven dm_stats_get_{metric,counter}() interfaces.
  - Add dm_bitset_parse_list() to parse a string representation of a bitset.
  - Thin dmeventd plugin umounts lvm2 volume only when pool is 95% or more.


author: Peter Rajnoha <prajnoha@redhat.com> - 2.02.161-1
changelog:
  - Prohibit some lvchange/lvresize that were failing on raid0 volumes.
  - Fix segfaults in complex vgsplits. (2.02.159)
  - Reformat unwieldy lvconvert man page.
  - Allow --force to be passed through to pvcreate from vgcreate. (2.02.144)
  - Fix lvresize of filesystem when LV has already right size (2.02.141)
  - New LVM_LOG_FILE_MAX_LINES env var to limit max size of created logs.
  - Disable queueing on mpath devs in blk-availability systemd service/initscript.
  - Add new -m|--mpathoption disablequeueing to blkdeactivate.
  - Automatically group regions with 'create --segments' unless --nogroup.
  - Fix resource leak when deleting the first member of a group.
  - Allow --bounds with 'create --filemap' for dmstats.
  - Enable creation of filemap regions with histograms.
  - Enable histogram aggregation for regions with more than one area.
  - Enable histogram aggregation for groups of regions.
  - Add a --filemap option to 'dmstats create' to allow mapping of files.
  - Add dm_stats_create_regions_from_fd() to map file extents to regions.


author: Peter Rajnoha <prajnoha@redhat.com> - 2.02.167-1
changelog:
  - Use log_error in regex and sysfs filter to describe reason of failure.
  - Fix blkdeactivate to deactivate dev stack if dev on top already unmounted.
  - Prevent non-synced raid1 repair unless --force
  - Prevent raid4 creation/conversion on non-supporting kernels
  - Add direct striped -> raid4 conversion
  - Fix raid4 parity image pair position on conversions from striped/raid0*
  - Fix a few unconverted return code values for some lvconvert error path.
  - Disable lvconvert of thin pool to raid while active.
  - Disable systemd service start rate limiting for lvm2-pvscan@.service.
  - Fix lvm2-activation-generator to read all LVM2 config sources. (2.02.155)
  - Fix lvchange-rebuild-raid.sh to cope with older target versions.
  - Use dm_config_parse_without_dup_node_check() to speedup metadata reading.
  - Fix lvconvert --repair regression
  - Fix reported origin lv field for cache volumes. (2.02.133)
  - Always specify snapshot cow LV for monitoring not internal LV. (2.02.165)
  - Fix lvchange --discard|--zero for active thin-pool.
  - Enforce 4MiB or 25% metadata free space for thin pool operations.
  - Fix lock-holder device for thin pool with inactive thin volumes.
  - Use --alloc normal for mirror logs even if the mimages were stricter.
  - Use O_DIRECT to gather metadata in lvmdump.
  - Ignore creation_time when checking for matching metadata for lvmetad.
  - Fix possible NULL pointer derefence when checking for monitoring.
  - Add lvmreport(7) man page.
  - Don't install lvmraid(7) man page when raid excluded. (2.02.165)
  - Report 0% as dirty (copy%) for cache without any used block.
  - Fix lvm2api reporting of cache data and metadata percent.
  - Restore reporting of metadata usage for cache volumes (2.02.155).
  - Support raid scrubbing on cache origin LV.
  - Add lvmraid(7) man page.
  - Use udev db to check for mpath components before running pvscan for lvmetad.
  - Use lsblk -s and lsblk -O in lvmdump only if these options are supported.
  - Fix number of stripes shown in lvcreate raid10 message when too many.
  - Change lvmdbusd to use new lvm shell facilities.
  - Do not monitor cache-pool metadata when LV is just being cleared.
  - Add allocation/cache_pool_max_chunks to prevent misuse of cache target.
  - Give error not segfault in lvconvert --splitmirrors when PV lies outside LV.
  - Fix typo in report/columns_as_rows config option name recognition (2.02.99).
  - Avoid PV tags when checking allocation against parallel PVs.
  - Disallow mirror conversions of raid10 volumes.
  - Fix dmeventd unmonitoring when segment type (and dso) changes.
  - Don't allow lvconvert --repair on raid0 devices or attempt to monitor them.
  - No longer adjust incorrect number of raid stripes supplied to lvcreate.
  - Move lcm and gcd to lib/misc.
  - Fix vgsplit of external origins. (2.02.162)
  - Prohibit creation of RAID LVs unless VG extent size is at least the page size.
  - Suppress some unnecessary --stripesize parameter warnings.
  - Fix 'pvmove -n name ...' to prohibit collocation of RAID SubLVs
  - Fix selection of PVs when allocating raid0_meta.
  - Fix sdbus socket leak leading to hang in lvmnotify.
  - Specify max stripes for raid LV types: raid0:64; 1:10; 4,5:63; 6:62; 10:32.
  - Avoid double suffix when naming _rmeta LV paired with _rimage LV.
  - Add profile for lvmdbusd which uses lvm shell json report output.
  - Restrict in-command modification of some parms in lvm shell.
  - Apply LVM_COMMAND_PROFILE early for lvm shell.
  - Refactor reporting so lvm shell log report collects whole of cmd execution.
  - Support LVM_*_FD envvars to redirect output to file descriptors.
  - Limit use of --corelog and --mirrorlog to mirrors in lvconvert.
  - Reject --nosync option for RAID6 LVs in lvcreate.
  - Do not refresh whole cmd context if profile dropped after processing LVM cmd.
  - Support straightforward lvconvert between striped and raid4 LVs.
  - Support straightforward lvconvert between raid1 and mirror LVs.
  - Report supported conversions when asked for unsupported raid lvconvert.
  - Add "--rebuild PV" option to lvchange to allow for PV selective rebuilds.
  - Preserve existing mirror region size when using --repair.
  - Forbid stripe parameters with lvconvert --repair.
  - Unify stripe size validation into get_stripe_params to catch missing cases.
  - Further lvconvert validation logic refactoring.
  - Extend vg_validate also to check raid configurations thoroughly.
  - Support lvconvert -Zn also when doing full cache pool conversion.
  - Suppress not zeroing warn when converting to thin LV for non-zeroing tpool.
  - Fix automatic updates of PV extension headers to newest version.
  - Improve lvconvert --trackchanges validation to require --splitmirrors 1.
  - Add note about lastlog built-in command to lvm man page.
  - Fix unrecognised segtype flag message.
  - lvconvert not clears cache pool metadata ONLY with -Zn.
  - Add allocation/raid_stripe_all_devices to reinstate previous behaviour.
  - Create raid stripes across fixed small numbers of PVs instead of all PVs.
  - Enabled lvconvert --uncache to work with partial VG.
  - Disallow lvconvert --replace with raid0* LVs.
  - Fix some lvmetad changed VG metadata notifications that sent uncommitted data.
  - Log failure of raid device with log_error level.
  - Use dm_log_with_errno and translate runtime to dm_log only when needed.
  - Make log messages from dm and lvm library different from dmeventd.
  - Notice and Info messages are again logged from dmeventd and its plugins.
  - Dmeventd now also respects DM_ABORT_ON_INTERNAL_ERRORS as libdm based tool.
  - Report as non default dm logging also when logging with errno was changed.
  - Use log_level() macro to consistently decode message log level in dmeventd.
  - Still produce output when dmsetup dependency tree building finds dev missing.
  - Check and report pthread_sigmask() failure in dmeventd.
  - Check mem alloc fail in _canonicalize_field_ids().
  - Use unsigned math when checking more then 31 legs of raid.
  - Fix 'dmstats delete' with dmsetup older than v1.02.129
  - Fix stats walk segfault with dmsetup older than v1.02.129
  - Fix man entry for dmsetup status.
  - Introduce new dm_config_parse_without_dup_node_check().
  - Don't omit last entry in dmstats list --group.
  - Improve explanation of udev fallback in libdevmapper.h.
  - Add dm_report_destroy_rows/dm_report_group_output_and_pop_all for lvm shell.
  - Adjust group handling and json production for lvm shell.
  - Fix json reporting to escape '"' character that may appear in reported string.


