d2cc5b0
%global device_mapper_version 1.02.175
b3061eb
b3061eb
%global enable_cache 1
b3061eb
%global enable_cluster 1
b3061eb
%global enable_cmirror 1
d48887c
%global enable_lvmdbusd 1
b3061eb
%global enable_lvmlockd 1
b3061eb
%global enable_lvmpolld 1
b3061eb
%global enable_thin 1
a730006
%global enable_dmfilemapd 1
e18384b
%global enable_testsuite 1
0469456
%global enable_vdo 1
0469456
%global enable_writecache 1
d2cc5b0
%global enable_integrity 1
b3061eb
b3061eb
%global system_release_version 23
b3061eb
%global systemd_version 189-3
b3061eb
%global dracut_version 002-18
b3061eb
%global util_linux_version 2.24
b3061eb
%global bash_version 4.0
b3061eb
%global corosync_version 1.99.9-1
b3061eb
%global resource_agents_version 3.9.5-12
d82669e
%global dlm_version 4.0.6-1
b3061eb
%global libselinux_version 1.30.19-4
a730006
%global persistent_data_version 0.7.0-0.1.rc6
152ed81
%global sanlock_version 3.3.0-2
b3061eb
b3061eb
%global enable_lockd_sanlock %{enable_lvmlockd}
b3061eb
%global enable_lockd_dlm %{enable_lvmlockd}
ebc16a8
77e0a10
%if 0%{?rhel} && 0%{?rhel} <= 8
77e0a10
  %ifnarch i686 x86_64 ppc64le s390x
b3061eb
    %global enable_cluster 0
b3061eb
    %global enable_cmirror 0
77e0a10
    %global enable_lockd_dlm 0
77e0a10
  %endif
77e0a10
77e0a10
  %ifnarch x86_64 ppc64 aarch64
77e0a10
    %global enable_lockd_sanlock 0
Milan Broz 465b412
  %endif
870a387
%endif
8c0d53d
467f2fc
# Do not reset Release to 1 unless both lvm2 and device-mapper
7d670a2
# versions are increased together.
7d670a2
467f2fc
Summary: Userland logical volume management tools
cvsdist bf559cc
Name: lvm2
77e0a10
%if 0%{?rhel}
77e0a10
Epoch: %{rhel}
77e0a10
%endif
d2cc5b0
Version: 2.03.11
56bfeff
Release: 6%{?dist}
b477cc3
License: GPLv2
477a705
URL: https://sourceware.org/lvm2/
477a705
Source0: https://sourceware.org/pub/lvm2/releases/LVM2.%{version}.tgz
6053091
Patch0: lvm2-set-default-preferred_names.patch
d2cc5b0
Patch3: lvm2-2_03_12-lvmlockd-sscanf-buffer-size-warnings.patch
d2cc5b0
# BZ 1915497:
d2cc5b0
Patch4: lvm2-2_03_12-alloc-enhance-estimation-of-sufficient_pes_free.patch
d2cc5b0
Patch5: lvm2-2_03_12-tests-check-thin-pool-corner-case-allocs.patch
d2cc5b0
Patch6: lvm2-2_03_12-tests-check-full-zeroing-of-thin-pool-metadata.patch
d2cc5b0
# BZ 1915580:
d2cc5b0
Patch7: lvm2-2_03_12-integrity-fix-segfault-on-error-path-when-replacing-.patch
d2cc5b0
# BZ 1872695:
d2cc5b0
Patch8: lvm2-2_03_12-devs-remove-invalid-path-name-aliases.patch
d2cc5b0
Patch9: lvm2-2_03_12-make-generate.patch
d2cc5b0
Patch10: lvm2-2_03_12-label_scan-fix-missing-free-of-filtered_devs.patch
d2cc5b0
# BZ 1917920:
d2cc5b0
Patch11: lvm2-2_03_12-pvck-fix-warning-and-exit-code-for-non-4k-mda1-offse.patch
d2cc5b0
Patch12: lvm2-2_03_12-WHATS_NEW-update.patch
d2cc5b0
# BZ 1921214:
d2cc5b0
Patch13: lvm2-2_03_12-writecache-use-cleaner-message-instead-of-table-relo.patch
d2cc5b0
# BZ 1909699:
d2cc5b0
Patch14: lvm2-2_03_12-man-update-lvmthin.patch
d2cc5b0
Patch15: lvm2-2_03_12-thin-improve-16g-support-for-thin-pool-metadata.patch
d2cc5b0
Patch16: lvm2-2_03_12-pool-limit-pmspare-to-16GiB.patch
d2cc5b0
Patch17: lvm2-2_03_12-cache-reuse-code-for-metadata-min_max.patch
d2cc5b0
Patch18: lvm2-2_03_12-tests-check-16G-thin-pool-metadata-size.patch
d2cc5b0
Patch19: lvm2-2_03_12-tests-update-thin-and-cache-checked-messages.patch
d2cc5b0
# BZ 1914389:
d2cc5b0
Patch20: lvm2-2_03_12-lvcreate-use-lv_passes_readonly_filter.patch
d2cc5b0
Patch21: lvm2-2_03_12-test-check-read_only_volume_list-tagging-works.patch
d2cc5b0
# BZ 1859659:
d2cc5b0
Patch22: lvm2-2_03_12-filter-mpath-work-with-nvme-devices.patch
d2cc5b0
# BZ 1925871:
d2cc5b0
Patch23: lvm2-2_03_12-dev_get_primary_dev-fix-invalid-path-check.patch
5e3e5a7
# Fix editline compilation:
5e3e5a7
Patch24: lvm2-2_03_12-lvm-Fix-editline-compilation.patch
6517860
d593437
BuildRequires: make
2c1f6c8
BuildRequires: gcc
2c1f6c8
%if %{enable_testsuite}
2c1f6c8
BuildRequires: gcc-c++
2c1f6c8
%endif
d489729
BuildRequires: libselinux-devel >= %{libselinux_version}, libsepol-devel
39f07e4
BuildRequires: libblkid-devel >= %{util_linux_version}
f15230e
BuildRequires: ncurses-devel
5e3e5a7
BuildRequires: libedit-devel
d9a02cc
BuildRequires: libaio-devel
fa02859
%if %{enable_cluster}
7767538
BuildRequires: corosynclib-devel >= %{corosync_version}
0cb5903
%endif
ebc16a8
%if %{enable_cluster} || %{enable_lockd_dlm}
8839498
BuildRequires: dlm-devel >= %{dlm_version}
fa02859
%endif
ea66b22
BuildRequires: module-init-tools
7767538
BuildRequires: pkgconfig
c515b1a
BuildRequires: systemd-devel
4f75fb4
BuildRequires: systemd-units
0469456
%if %{enable_lvmdbusd}
704f3c9
BuildRequires: python3-devel
b5fe257
BuildRequires: python3-setuptools
d48887c
BuildRequires: python3-dbus
d48887c
BuildRequires: python3-pyudev
d48887c
%endif
9f79d73
%if %{enable_thin} || %{enable_cache}
9f79d73
BuildRequires: device-mapper-persistent-data >= %{persistent_data_version}
9f79d73
%endif
ebc16a8
%if %{enable_lockd_sanlock}
0cb5903
BuildRequires: sanlock-devel >= %{sanlock_version}
0cb5903
%endif
77e0a10
Requires: %{name}-libs = %{?epoch}:%{version}-%{release}
8a2ddfb
%if 0%{?fedora}
39e659a
Requires(post): (system-release >= %{system_release_version} if system-release)
8a2ddfb
%endif
d489729
Requires: bash >= %{bash_version}
d489729
Requires(post): systemd-units >= %{systemd_version}, systemd-sysv
d489729
Requires(preun): systemd-units >= %{systemd_version}
d489729
Requires(postun): systemd-units >= %{systemd_version}
4f75fb4
Requires: module-init-tools
9f79d73
%if %{enable_thin} || %{enable_cache}
e4104ab
Requires: device-mapper-persistent-data >= %{persistent_data_version}
e4104ab
%endif
cvsdist 9023344
cvsdist bf559cc
%description
cvsdist 0a8255f
LVM2 includes all of the support for handling read/write operations on
cvsdist 0a8255f
physical volumes (hard disks, RAID-Systems, magneto optical, etc.,
c15e7bb
multiple devices (MD), see mdadm(8) or even loop devices, see
cvsdist 0a8255f
losetup(8)), creating volume groups (kind of virtual disks) from one
cvsdist 0a8255f
or more physical volumes and creating one or more logical volumes
cvsdist 0a8255f
(kind of logical partitions) in volume groups.
cvsdist bf559cc
cvsdist bf559cc
%prep
ee1bf24
%setup -q -n LVM2.%{version}
d2cc5b0
%patch0 -p1 -b .backup0
d2cc5b0
%patch3 -p1 -b .backup3
d2cc5b0
%patch4 -p1 -b .backup4
d2cc5b0
%patch5 -p1 -b .backup5
d2cc5b0
%patch6 -p1 -b .backup6
d2cc5b0
%patch7 -p1 -b .backup7
d2cc5b0
%patch8 -p1 -b .backup8
d2cc5b0
%patch9 -p1 -b .backup9
d2cc5b0
%patch10 -p1 -b .backup10
d2cc5b0
%patch11 -p1 -b .backup11
d2cc5b0
%patch12 -p1 -b .backup12
d2cc5b0
%patch13 -p1 -b .backup13
d2cc5b0
%patch14 -p1 -b .backup14
d2cc5b0
%patch15 -p1 -b .backup15
d2cc5b0
%patch16 -p1 -b .backup16
d2cc5b0
%patch17 -p1 -b .backup17
d2cc5b0
%patch18 -p1 -b .backup18
d2cc5b0
%patch19 -p1 -b .backup19
d2cc5b0
%patch20 -p1 -b .backup20
d2cc5b0
%patch21 -p1 -b .backup21
d2cc5b0
%patch22 -p1 -b .backup22
d2cc5b0
%patch23 -p1 -b .backup23
5e3e5a7
%patch24 -p1 -b .backup24
7dc5351
cvsdist bf559cc
%build
b3061eb
%global _default_pid_dir /run
b3061eb
%global _default_dm_run_dir /run
b3061eb
%global _default_run_dir /run/lvm
b3061eb
%global _default_locking_dir /run/lock/lvm
d550f99
b3061eb
%global _udevdir %{_prefix}/lib/udev/rules.d
d489729
477a705
%configure \
477a705
  --with-default-dm-run-dir=%{_default_dm_run_dir} \
477a705
  --with-default-run-dir=%{_default_run_dir} \
477a705
  --with-default-pid-dir=%{_default_pid_dir} \
477a705
  --with-default-locking-dir=%{_default_locking_dir} \
477a705
  --with-usrlibdir=%{_libdir} \
477a705
  --enable-fsadm \
477a705
  --enable-write_install \
477a705
  --with-user= \
477a705
  --with-group= \
477a705
  --with-device-uid=0 \
477a705
  --with-device-gid=6 \
477a705
  --with-device-mode=0660 \
477a705
  --enable-pkgconfig \
477a705
  --enable-cmdlib \
477a705
  --enable-dmeventd \
477a705
  --enable-blkid_wiping \
24098c7
  --disable-readline \
24098c7
  --enable-editline \
477a705
%if %{enable_cluster}
477a705
  --with-cluster=internal \
93a554b
  %if %{enable_cmirror}
93a554b
  --enable-cmirrord \
93a554b
  %endif
477a705
%else
477a705
  --with-cluster=internal \
477a705
%endif
477a705
  --with-udevdir=%{_udevdir} --enable-udev_sync \
93a554b
%if %{enable_thin}
93a554b
  --with-thin=internal \
93a554b
%endif
93a554b
%if %{enable_cache}
93a554b
  --with-cache=internal \
93a554b
%endif
93a554b
%if %{enable_lvmpolld}
93a554b
  --enable-lvmpolld \
93a554b
%endif
93a554b
%if %{enable_lockd_dlm}
93a554b
  --enable-lvmlockd-dlm --enable-lvmlockd-dlmcontrol \
93a554b
%endif
93a554b
%if %{enable_lockd_sanlock}
93a554b
  --enable-lvmlockd-sanlock \
93a554b
%endif
93a554b
%if %{enable_lvmdbusd}
93a554b
  --enable-dbus-service --enable-notify-dbus \
93a554b
%endif
93a554b
%if %{enable_dmfilemapd}
93a554b
  --enable-dmfilemapd \
93a554b
%endif
93a554b
%if %{enable_writecache}
93a554b
  --with-writecache=internal \
93a554b
%endif
93a554b
%if %{enable_vdo}
93a554b
  --with-vdo=internal --with-vdo-format=%{_bindir}/vdoformat \
93a554b
%endif
93a554b
%if %{enable_integrity}
93a554b
  --with-integrity=internal \
93a554b
%endif
477a705
  --disable-silent-rules
d48887c
3ee5ecb
%make_build
cvsdist bf559cc
cvsdist bf559cc
%install
3ee5ecb
%make_install
40366a8
make install_system_dirs DESTDIR=$RPM_BUILD_ROOT
4f75fb4
make install_systemd_units DESTDIR=$RPM_BUILD_ROOT
785220f
make install_systemd_generators DESTDIR=$RPM_BUILD_ROOT
9682ee1
make install_tmpfiles_configuration DESTDIR=$RPM_BUILD_ROOT
e18384b
%if %{enable_testsuite}
3ee5ecb
%make_install -C test
e18384b
%endif
77fa81c
8d2584e
%post
d489729
%systemd_post blk-availability.service lvm2-monitor.service
eae0c8e
if [ "$1" = "1" ] ; then
3637b46
	# FIXME: what to do with this? We do not want to start it in a container/chroot
eae0c8e
	# enable and start lvm2-monitor.service on completely new installation only, not on upgrades
eae0c8e
	systemctl enable lvm2-monitor.service
59cb2a1
	systemctl start lvm2-monitor.service >/dev/null 2>&1 || :
eae0c8e
fi
8d2584e
3749708
%if %{enable_lvmpolld}
3749708
%systemd_post lvm2-lvmpolld.socket
eae0c8e
# lvm2-lvmpolld socket is always enabled and started and ready to serve if lvmpolld is used
eae0c8e
# replace direct systemctl calls with systemd rpm macro once this is provided in the macro:
eae0c8e
# http://cgit.freedesktop.org/systemd/systemd/commit/?id=57ab2eabb8f92fad5239c7d4492e9c6e23ee0678
eae0c8e
systemctl enable lvm2-lvmpolld.socket
59cb2a1
systemctl start lvm2-lvmpolld.socket >/dev/null 2>&1 || :
3749708
%endif
3749708
8d2584e
%preun
d489729
%systemd_preun blk-availability.service lvm2-monitor.service
4f75fb4
3749708
%if %{enable_lvmpolld}
3749708
%systemd_preun lvm2-lvmpolld.service lvm2-lvmpolld.socket
3749708
%endif
3749708
4f75fb4
%postun
0a1e72c
%systemd_postun lvm2-monitor.service
4f75fb4
3749708
%if %{enable_lvmpolld}
3749708
%systemd_postun_with_restart lvm2-lvmpolld.service
3749708
%endif
3749708
4f75fb4
%triggerun -- %{name} < 2.02.86-2
4f75fb4
%{_bindir}/systemd-sysv-convert --save lvm2-monitor >/dev/null 2>&1 || :
4f75fb4
/bin/systemctl --no-reload enable lvm2-monitor.service > /dev/null 2>&1 || :
4f75fb4
/sbin/chkconfig --del lvm2-monitor > /dev/null 2>&1 || :
4f75fb4
/bin/systemctl try-restart lvm2-monitor.service > /dev/null 2>&1 || :
8d2584e
cvsdist bf559cc
%files
7f8f4a5
%license COPYING COPYING.LIB
7f8f4a5
%doc README VERSION WHATS_NEW
a68f37a
%doc doc/lvm_fault_handling.txt
39f07e4
0a1e72c
# Main binaries
ac0f4e0
%{_sbindir}/fsadm
39f07e4
%{_sbindir}/lvm
704f3c9
%{_sbindir}/lvmconfig
39f07e4
%{_sbindir}/lvmdump
3749708
%if %{enable_lvmpolld}
3749708
%{_sbindir}/lvmpolld
3749708
%endif
39f07e4
39f07e4
# Other files
1cc7daa
%{_sbindir}/lvchange
1cc7daa
%{_sbindir}/lvconvert
1cc7daa
%{_sbindir}/lvcreate
1cc7daa
%{_sbindir}/lvdisplay
1cc7daa
%{_sbindir}/lvextend
1cc7daa
%{_sbindir}/lvmdiskscan
1cc7daa
%{_sbindir}/lvmsadc
1cc7daa
%{_sbindir}/lvmsar
1cc7daa
%{_sbindir}/lvreduce
1cc7daa
%{_sbindir}/lvremove
1cc7daa
%{_sbindir}/lvrename
1cc7daa
%{_sbindir}/lvresize
1cc7daa
%{_sbindir}/lvs
1cc7daa
%{_sbindir}/lvscan
1cc7daa
%{_sbindir}/pvchange
9f17900
%{_sbindir}/pvck
1cc7daa
%{_sbindir}/pvcreate
1cc7daa
%{_sbindir}/pvdisplay
1cc7daa
%{_sbindir}/pvmove
1cc7daa
%{_sbindir}/pvremove
1cc7daa
%{_sbindir}/pvresize
1cc7daa
%{_sbindir}/pvs
1cc7daa
%{_sbindir}/pvscan
1cc7daa
%{_sbindir}/vgcfgbackup
1cc7daa
%{_sbindir}/vgcfgrestore
1cc7daa
%{_sbindir}/vgchange
1cc7daa
%{_sbindir}/vgck
1cc7daa
%{_sbindir}/vgconvert
1cc7daa
%{_sbindir}/vgcreate
1cc7daa
%{_sbindir}/vgdisplay
1cc7daa
%{_sbindir}/vgexport
1cc7daa
%{_sbindir}/vgextend
1cc7daa
%{_sbindir}/vgimport
4dde59e
%{_sbindir}/vgimportclone
1cc7daa
%{_sbindir}/vgmerge
1cc7daa
%{_sbindir}/vgmknodes
1cc7daa
%{_sbindir}/vgreduce
1cc7daa
%{_sbindir}/vgremove
1cc7daa
%{_sbindir}/vgrename
1cc7daa
%{_sbindir}/vgs
1cc7daa
%{_sbindir}/vgscan
1cc7daa
%{_sbindir}/vgsplit
1cc7daa
%{_mandir}/man5/lvm.conf.5.gz
8925121
%{_mandir}/man7/lvmcache.7.gz
e7063f6
%{_mandir}/man7/lvmraid.7.gz
551f63d
%{_mandir}/man7/lvmreport.7.gz
0a1e72c
%{_mandir}/man7/lvmthin.7.gz
0469456
%{_mandir}/man7/lvmvdo.7.gz
d655049
%{_mandir}/man7/lvmsystemid.7.gz
ac0f4e0
%{_mandir}/man8/fsadm.8.gz
1cc7daa
%{_mandir}/man8/lvchange.8.gz
1cc7daa
%{_mandir}/man8/lvconvert.8.gz
1cc7daa
%{_mandir}/man8/lvcreate.8.gz
1cc7daa
%{_mandir}/man8/lvdisplay.8.gz
1cc7daa
%{_mandir}/man8/lvextend.8.gz
1cc7daa
%{_mandir}/man8/lvm.8.gz
0a1e72c
%{_mandir}/man8/lvm2-activation-generator.8.gz
704f3c9
%{_mandir}/man8/lvm-config.8.gz
704f3c9
%{_mandir}/man8/lvmconfig.8.gz
0a1e72c
%{_mandir}/man8/lvm-dumpconfig.8.gz
1cc7daa
%{_mandir}/man8/lvmdiskscan.8.gz
1cc7daa
%{_mandir}/man8/lvmdump.8.gz
f81b7f3
%{_mandir}/man8/lvm-fullreport.8.gz
41cfdfa
%{_mandir}/man8/lvmsadc.8.gz
41cfdfa
%{_mandir}/man8/lvmsar.8.gz
1cc7daa
%{_mandir}/man8/lvreduce.8.gz
1cc7daa
%{_mandir}/man8/lvremove.8.gz
1cc7daa
%{_mandir}/man8/lvrename.8.gz
1cc7daa
%{_mandir}/man8/lvresize.8.gz
1cc7daa
%{_mandir}/man8/lvs.8.gz
1cc7daa
%{_mandir}/man8/lvscan.8.gz
1cc7daa
%{_mandir}/man8/pvchange.8.gz
9f17900
%{_mandir}/man8/pvck.8.gz
1cc7daa
%{_mandir}/man8/pvcreate.8.gz
1cc7daa
%{_mandir}/man8/pvdisplay.8.gz
1cc7daa
%{_mandir}/man8/pvmove.8.gz
1cc7daa
%{_mandir}/man8/pvremove.8.gz
1cc7daa
%{_mandir}/man8/pvresize.8.gz
1cc7daa
%{_mandir}/man8/pvs.8.gz
1cc7daa
%{_mandir}/man8/pvscan.8.gz
1cc7daa
%{_mandir}/man8/vgcfgbackup.8.gz
1cc7daa
%{_mandir}/man8/vgcfgrestore.8.gz
1cc7daa
%{_mandir}/man8/vgchange.8.gz
1cc7daa
%{_mandir}/man8/vgck.8.gz
1cc7daa
%{_mandir}/man8/vgconvert.8.gz
1cc7daa
%{_mandir}/man8/vgcreate.8.gz
1cc7daa
%{_mandir}/man8/vgdisplay.8.gz
1cc7daa
%{_mandir}/man8/vgexport.8.gz
1cc7daa
%{_mandir}/man8/vgextend.8.gz
1cc7daa
%{_mandir}/man8/vgimport.8.gz
9e49ddf
%{_mandir}/man8/vgimportclone.8.gz
1cc7daa
%{_mandir}/man8/vgmerge.8.gz
1cc7daa
%{_mandir}/man8/vgmknodes.8.gz
1cc7daa
%{_mandir}/man8/vgreduce.8.gz
1cc7daa
%{_mandir}/man8/vgremove.8.gz
1cc7daa
%{_mandir}/man8/vgrename.8.gz
1cc7daa
%{_mandir}/man8/vgs.8.gz
1cc7daa
%{_mandir}/man8/vgscan.8.gz
1cc7daa
%{_mandir}/man8/vgsplit.8.gz
b874f54
%{_udevdir}/11-dm-lvm.rules
b77e7d0
%{_udevdir}/69-dm-lvm-metad.rules
3749708
%if %{enable_lvmpolld}
3749708
%{_mandir}/man8/lvmpolld.8.gz
eae0c8e
%{_mandir}/man8/lvm-lvpoll.8.gz
3749708
%endif
16c802b
%dir %{_sysconfdir}/lvm
16c802b
%ghost %{_sysconfdir}/lvm/cache/.cache
477a705
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lvm/lvm.conf
477a705
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lvm/lvmlocal.conf
bc8ebe2
%dir %{_sysconfdir}/lvm/profile
8925121
%{_sysconfdir}/lvm/profile/command_profile_template.profile
8925121
%{_sysconfdir}/lvm/profile/metadata_profile_template.profile
8925121
%{_sysconfdir}/lvm/profile/thin-generic.profile
b53ea4f
%{_sysconfdir}/lvm/profile/thin-performance.profile
e9b695d
%{_sysconfdir}/lvm/profile/cache-mq.profile
e9b695d
%{_sysconfdir}/lvm/profile/cache-smq.profile
f81b7f3
%{_sysconfdir}/lvm/profile/lvmdbusd.profile
0469456
%if %{enable_vdo}
0469456
%{_sysconfdir}/lvm/profile/vdo-small.profile
0469456
%endif
16c802b
%dir %{_sysconfdir}/lvm/backup
16c802b
%dir %{_sysconfdir}/lvm/cache
16c802b
%dir %{_sysconfdir}/lvm/archive
cbcefd7
%dir %{_default_locking_dir}
cbcefd7
%dir %{_default_run_dir}
d258324
%{_tmpfilesdir}/%{name}.conf
d489729
%{_unitdir}/blk-availability.service
4f75fb4
%{_unitdir}/lvm2-monitor.service
8c6d94d
%{_unitdir}/lvm2-pvscan@.service
477a705
%{_prefix}/lib/systemd/system-generators/lvm2-activation-generator
3749708
%if %{enable_lvmpolld}
3749708
%{_unitdir}/lvm2-lvmpolld.socket
3749708
%{_unitdir}/lvm2-lvmpolld.service
3749708
%endif
cvsdist bf559cc
3d707b6
##############################################################################
72c4e00
# Library and Development subpackages
72c4e00
##############################################################################
72c4e00
%package devel
72c4e00
Summary: Development libraries and headers
72c4e00
License: LGPLv2
77e0a10
Requires: %{name} = %{?epoch}:%{version}-%{release}
77e0a10
Requires: device-mapper-devel = %{?epoch}:%{device_mapper_version}-%{release}
77e0a10
Requires: device-mapper-event-devel = %{?epoch}:%{device_mapper_version}-%{release}
72c4e00
Requires: pkgconfig
72c4e00
72c4e00
%description devel
72c4e00
This package contains files needed to develop applications that use
72c4e00
the lvm2 libraries.
72c4e00
72c4e00
%files devel
f8e882d
%{_libdir}/liblvm2cmd.so
0a1e72c
%{_libdir}/libdevmapper-event-lvm2.so
72c4e00
%{_includedir}/lvm2cmd.h
72c4e00
72c4e00
%package libs
bf91dfc
Summary: Shared libraries for lvm2
72c4e00
License: LGPLv2
77e0a10
Requires: device-mapper-event = %{?epoch}:%{device_mapper_version}-%{release}
72c4e00
72c4e00
%description libs
72c4e00
This package contains shared lvm2 libraries for applications.
72c4e00
b444985
%ldconfig_scriptlets libs
72c4e00
72c4e00
%files libs
7f8f4a5
%license COPYING.LIB
39f07e4
%{_libdir}/liblvm2cmd.so.*
39f07e4
%{_libdir}/libdevmapper-event-lvm2.so.*
bf91dfc
%dir %{_libdir}/device-mapper
bf91dfc
%{_libdir}/device-mapper/libdevmapper-event-lvm2mirror.so
bf91dfc
%{_libdir}/device-mapper/libdevmapper-event-lvm2snapshot.so
a76d6fd
%{_libdir}/device-mapper/libdevmapper-event-lvm2raid.so
8d2584e
%{_libdir}/libdevmapper-event-lvm2mirror.so
8d2584e
%{_libdir}/libdevmapper-event-lvm2snapshot.so
a76d6fd
%{_libdir}/libdevmapper-event-lvm2raid.so
72c4e00
39bedd4
%if %{enable_thin}
39bedd4
%{_libdir}/libdevmapper-event-lvm2thin.so
39bedd4
%{_libdir}/device-mapper/libdevmapper-event-lvm2thin.so
39bedd4
%endif
39bedd4
dede4cb
%{_libdir}/libdevmapper-event-lvm2vdo.so
dede4cb
%{_libdir}/device-mapper/libdevmapper-event-lvm2vdo.so
dede4cb
0cb5903
##############################################################################
0cb5903
# LVM locking daemon
0cb5903
##############################################################################
ebc16a8
%if %{enable_lockd_dlm} || %{enable_lockd_sanlock}
0cb5903
%package lockd
0cb5903
Summary: LVM locking daemon
77e0a10
Requires: lvm2 = %{?epoch}:%{version}-%{release}
25f0e59
%if %{enable_lockd_sanlock}
0cb5903
Requires: sanlock-lib >= %{sanlock_version}
25f0e59
%endif
083040f
%if %{enable_lockd_dlm}
77e0a10
Requires: dlm-lib >= %{dlm_version}
083040f
%endif
0cb5903
Requires(post): systemd-units >= %{systemd_version}
0cb5903
Requires(preun): systemd-units >= %{systemd_version}
0cb5903
Requires(postun): systemd-units >= %{systemd_version}
0cb5903
0cb5903
%description lockd
0cb5903
0cb5903
LVM commands use lvmlockd to coordinate access to shared storage.
0cb5903
0cb5903
%post lockd
0469456
%systemd_post lvmlockd.service lvmlocks.service
0cb5903
0cb5903
%preun lockd
0469456
%systemd_preun lvmlockd.service lvmlocks.service
0cb5903
0cb5903
%postun lockd
0469456
%systemd_postun lvmlockd.service lvmlocks.service
0cb5903
0cb5903
%files lockd
477a705
%{_sbindir}/lvmlockd
477a705
%{_sbindir}/lvmlockctl
0cb5903
%{_mandir}/man8/lvmlockd.8.gz
e92381c
%{_mandir}/man8/lvmlockctl.8.gz
0469456
%{_unitdir}/lvmlockd.service
0469456
%{_unitdir}/lvmlocks.service
8925121
fa02859
%endif
fa02859
8925121
###############################################################################
6053091
# Cluster mirror subpackage
8925121
# The 'clvm' OCF script to manage cmirrord instance is part of resource-agents.
8925121
###############################################################################
fa02859
%if %{enable_cluster}
d2a259b
%if %{enable_cmirror}
fa02859
6053091
%package -n cmirror
6053091
Summary: Daemon for device-mapper-based clustered mirrors
6053091
Requires: corosync >= %{corosync_version}
77e0a10
Requires: device-mapper = %{?epoch}:%{device_mapper_version}-%{release}
8925121
Requires: resource-agents >= %{resource_agents_version}
6053091
6053091
%description -n cmirror
6053091
Daemon providing device-mapper-based mirrors in a shared-storage cluster.
6053091
6053091
%files -n cmirror
39f07e4
%{_sbindir}/cmirrord
477a705
%{_mandir}/man8/cmirrord.8.gz
6053091
8925121
##############################################################################
8925121
# Cmirror-standalone subpackage
8925121
##############################################################################
8925121
%package -n cmirror-standalone
0469456
Summary: Additional files to support device-mapper-based clustered mirrors in standalone mode
8925121
License: GPLv2
77e0a10
Requires: cmirror >= %{?epoch}:%{version}-%{release}
8925121
8925121
%description -n cmirror-standalone
8925121
8925121
Additional files needed to run daemon for device-mapper-based clustered
8925121
mirrors in standalone mode as a service without cluster resource manager
8925121
involvement (e.g. pacemaker).
8925121
8925121
%post -n cmirror-standalone
8925121
%systemd_post lvm2-cmirrord.service
8925121
8925121
%preun -n cmirror-standalone
8925121
%systemd_preun lvm2-cmirrord.service
8925121
8925121
%postun -n cmirror-standalone
8925121
%systemd_postun lvm2-cmirrord.service
8925121
8925121
%files -n cmirror-standalone
8925121
%{_unitdir}/lvm2-cmirrord.service
8925121
fa02859
%endif
d2a259b
%endif
fa02859
6053091
##############################################################################
d48887c
# LVM D-Bus daemon
d48887c
##############################################################################
d48887c
%if %{enable_lvmdbusd}
d48887c
d48887c
%package dbusd
d48887c
Summary: LVM2 D-Bus daemon
d48887c
License: GPLv2
0469456
BuildArch: noarch
77e0a10
Requires: lvm2 >= %{?epoch}:%{version}-%{release}
d48887c
Requires: dbus
d48887c
Requires: python3-dbus
d48887c
Requires: python3-pyudev
a728d7b
Requires: python3-gobject-base
d48887c
Requires(post): systemd-units >= %{systemd_version}
d48887c
Requires(preun): systemd-units >= %{systemd_version}
d48887c
Requires(postun): systemd-units >= %{systemd_version}
d48887c
d48887c
%description dbusd
d48887c
d48887c
Daemon for access to LVM2 functionality through a D-Bus interface.
d48887c
d48887c
%post dbusd
d48887c
%systemd_post lvm2-lvmdbusd.service
d48887c
d48887c
%preun dbusd
d48887c
%systemd_preun lvm2-lvmdbusd.service
d48887c
d48887c
%postun dbusd
d48887c
%systemd_postun lvm2-lvmdbusd.service
d48887c
d48887c
%files dbusd
d48887c
%{_sbindir}/lvmdbusd
d48887c
%{_sysconfdir}/dbus-1/system.d/com.redhat.lvmdbus1.conf
d48887c
%{_datadir}/dbus-1/system-services/com.redhat.lvmdbus1.service
d48887c
%{_mandir}/man8/lvmdbusd.8.gz
d48887c
%{_unitdir}/lvm2-lvmdbusd.service
d48887c
%{python3_sitelib}/lvmdbusd/*
d48887c
d48887c
%endif
d48887c
d48887c
##############################################################################
c9fa9ad
# Device-mapper subpackages
c9fa9ad
##############################################################################
c9fa9ad
%package -n device-mapper
c9fa9ad
Summary: Device mapper utility
c9fa9ad
Version: %{device_mapper_version}
c9fa9ad
License: GPLv2
477a705
URL: https://www.sourceware.org/dm/
77e0a10
Requires: device-mapper-libs = %{?epoch}:%{device_mapper_version}-%{release}
93b1623
Requires: util-linux-core >= %{util_linux_version}
d489729
Requires: systemd >= %{systemd_version}
b874f54
# We need dracut to install required udev rules if udev_sync
b874f54
# feature is turned on so we don't lose required notifications.
d489729
Conflicts: dracut < %{dracut_version}
c9fa9ad
c9fa9ad
%description -n device-mapper
c9fa9ad
This package contains the supporting userspace utility, dmsetup,
c9fa9ad
for the kernel device-mapper.
c9fa9ad
c9fa9ad
%files -n device-mapper
7f8f4a5
%license COPYING COPYING.LIB
7f8f4a5
%doc WHATS_NEW_DM VERSION_DM README
d363712
%doc udev/12-dm-permissions.rules
477a705
%{_sbindir}/dmsetup
477a705
%{_sbindir}/blkdeactivate
477a705
%{_sbindir}/dmstats
39f07e4
%{_mandir}/man8/dmsetup.8.gz
0b40fcf
%{_mandir}/man8/dmstats.8.gz
704f3c9
%{_mandir}/man8/blkdeactivate.8.gz
a730006
%if %{enable_dmfilemapd}
477a705
%{_sbindir}/dmfilemapd
a730006
%{_mandir}/man8/dmfilemapd.8.gz
a730006
%endif
b874f54
%{_udevdir}/10-dm.rules
b874f54
%{_udevdir}/13-dm-disk.rules
b874f54
%{_udevdir}/95-dm-notify.rules
c9fa9ad
c9fa9ad
%package -n device-mapper-devel
c9fa9ad
Summary: Development libraries and headers for device-mapper
c9fa9ad
Version: %{device_mapper_version}
475f9d9
License: LGPLv2
77e0a10
Requires: device-mapper = %{?epoch}:%{device_mapper_version}-%{release}
7767538
Requires: pkgconfig
c9fa9ad
c9fa9ad
%description -n device-mapper-devel
c9fa9ad
This package contains files needed to develop applications that use
c9fa9ad
the device-mapper libraries.
c9fa9ad
c9fa9ad
%files -n device-mapper-devel
f8e882d
%{_libdir}/libdevmapper.so
c9fa9ad
%{_includedir}/libdevmapper.h
f8e882d
%{_libdir}/pkgconfig/devmapper.pc
c9fa9ad
c9fa9ad
%package -n device-mapper-libs
c9fa9ad
Summary: Device-mapper shared library
c9fa9ad
Version: %{device_mapper_version}
475f9d9
License: LGPLv2
77e0a10
Requires: device-mapper = %{?epoch}:%{device_mapper_version}-%{release}
c9fa9ad
c9fa9ad
%description -n device-mapper-libs
c9fa9ad
This package contains the device-mapper shared library, libdevmapper.
c9fa9ad
b444985
%ldconfig_scriptlets -n device-mapper-libs
c9fa9ad
c9fa9ad
%files -n device-mapper-libs
7f8f4a5
%license COPYING COPYING.LIB
39f07e4
%{_libdir}/libdevmapper.so.*
8d2584e
8d2584e
%package -n device-mapper-event
8d2584e
Summary: Device-mapper event daemon
5d9b96a
Version: %{device_mapper_version}
77e0a10
Requires: device-mapper = %{?epoch}:%{device_mapper_version}-%{release}
77e0a10
Requires: device-mapper-event-libs = %{?epoch}:%{device_mapper_version}-%{release}
4f75fb4
Requires(post): systemd-units
4f75fb4
Requires(preun): systemd-units
4f75fb4
Requires(postun): systemd-units
8d2584e
8d2584e
%description -n device-mapper-event
8d2584e
This package contains the dmeventd daemon for monitoring the state
8d2584e
of device-mapper devices.
8d2584e
4f75fb4
%post -n device-mapper-event
d489729
%systemd_post dm-event.socket
eae0c8e
# dm-event.socket is always enabled and started and ready to serve if dmeventd is used
eae0c8e
# replace direct systemctl calls with systemd rpm macro once this is provided in the macro:
eae0c8e
# http://cgit.freedesktop.org/systemd/systemd/commit/?id=57ab2eabb8f92fad5239c7d4492e9c6e23ee0678
eae0c8e
systemctl enable dm-event.socket
59cb2a1
systemctl start dm-event.socket >/dev/null 2>&1 || :
0a1e72c
if [ -e %{_default_pid_dir}/dmeventd.pid ]; then
0a1e72c
	%{_sbindir}/dmeventd -R || echo "Failed to restart dmeventd daemon. Please, try manual restart."
0a1e72c
fi
4f75fb4
4f75fb4
%preun -n device-mapper-event
d489729
%systemd_preun dm-event.service dm-event.socket
4f75fb4
8d2584e
%files -n device-mapper-event
477a705
%{_sbindir}/dmeventd
41cfdfa
%{_mandir}/man8/dmeventd.8.gz
4f75fb4
%{_unitdir}/dm-event.socket
4f75fb4
%{_unitdir}/dm-event.service
8d2584e
8d2584e
%package -n device-mapper-event-libs
8d2584e
Summary: Device-mapper event daemon shared library
8d2584e
Version: %{device_mapper_version}
8d2584e
License: LGPLv2
8d2584e
8d2584e
%description -n device-mapper-event-libs
8d2584e
This package contains the device-mapper event daemon shared library,
8d2584e
libdevmapper-event.
8d2584e
b444985
%ldconfig_scriptlets -n device-mapper-event-libs
8d2584e
8d2584e
%files -n device-mapper-event-libs
7f8f4a5
%license COPYING.LIB
39f07e4
%{_libdir}/libdevmapper-event.so.*
8d2584e
8d2584e
%package -n device-mapper-event-devel
8d2584e
Summary: Development libraries and headers for the device-mapper event daemon
8d2584e
Version: %{device_mapper_version}
8d2584e
License: LGPLv2
77e0a10
Requires: device-mapper-event = %{?epoch}:%{device_mapper_version}-%{release}
8d2584e
Requires: pkgconfig
8d2584e
8d2584e
%description -n device-mapper-event-devel
8d2584e
This package contains files needed to develop applications that use
8d2584e
the device-mapper event library.
8d2584e
8d2584e
%files -n device-mapper-event-devel
f8e882d
%{_libdir}/libdevmapper-event.so
8d2584e
%{_includedir}/libdevmapper-event.h
f8e882d
%{_libdir}/pkgconfig/devmapper-event.pc
c9fa9ad
e18384b
##############################################################################
e18384b
# Testsuite
e18384b
##############################################################################
e18384b
%if %{enable_testsuite}
e18384b
%package testsuite
e18384b
Summary: LVM2 Testsuite
dede4cb
# Most of the code is GPLv2, the harness in test/lib/{brick-shelltest.h,runner.cpp} is BSD, and C files in test/api are LGPLv2...
dede4cb
License: LGPLv2 and GPLv2 and BSD-2-Clause
e18384b
e18384b
%description testsuite
e18384b
An extensive functional testsuite for LVM2.
e18384b
e18384b
%files testsuite
dede4cb
%license COPYING COPYING.LIB COPYING.BSD
e18384b
%{_datadir}/lvm2-testsuite/
e18384b
%{_libexecdir}/lvm2-testsuite/
e18384b
%{_bindir}/lvm2-testsuite
e18384b
%endif
e18384b
cvsdist bf559cc
%changelog
56bfeff
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.03.11-6
56bfeff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
56bfeff
ab3a816
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.03.11-5
ab3a816
- Rebuilt for Python 3.10
ab3a816
5e3e5a7
* Mon Mar 22 2021 Marian Csontos <mcsontos@redhat.com> - 2.03.11-4
5e3e5a7
- Fix editline compilation.
5e3e5a7
5e3e5a7
* Tue Mar 16 2021 Marian Csontos <mcsontos@redhat.com> - 2.03.11-3
24098c7
- Replace readline library with editline.
24098c7
572d5bc
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.03.11-2
572d5bc
- Rebuilt for updated systemd-rpm-macros
572d5bc
  See https://pagure.io/fesco/issue/2583.
572d5bc
d2cc5b0
* Mon Feb 22 2021 Marian Csontos <mcsontos@redhat.com> - 2.03.11-1
d2cc5b0
- Fix mpath filtering of NVMe devices.
d2cc5b0
- Check if lvcreate passes read_only_volume_list with tags and skips zeroing.
d2cc5b0
- Limit pool metadata spare to 16GiB.
d2cc5b0
- Improves conversion and allocation of pool metadata.
d2cc5b0
- Fix different limits used for metadata by lvm2 and thin-tools.
d2cc5b0
- Fix interrupting lvconvert --splitcache command with striped origin volumes.
d2cc5b0
- Fix problem with wiping of converted LVs.
d2cc5b0
- Fix memleak in scanning.
d2cc5b0
- Fix corner case allocation for thin-pools.
d2cc5b0
- Fix pvck handling MDA at offset different from 4096.
d2cc5b0
- Partial or degraded activation of writecache is not allowed.
d2cc5b0
- Enhance error handling in fsadm and handle correct fsck result.
d2cc5b0
- Dmeventd lvm plugin ignores higher reserved_stack lvm.conf values.
d2cc5b0
- Support using BLKZEROOUT for clearing devices.
d2cc5b0
- Fixed interrup handling.
d2cc5b0
- Fix block cache when device has too many failing writes.
d2cc5b0
- Fix block cache waiting for IO completion with failing disks.
d2cc5b0
- Add configure --enable-editline support as an alternative to readline.
d2cc5b0
- Enhance reporting and error handling when creating thin volumes.
d2cc5b0
- Enable vgsplit for VDO volumes.
d2cc5b0
- Lvextend of vdo pool volumes ensure at least 1 new VDO slab is added.
d2cc5b0
- Restore lost signal blocking while VG lock is held.
d2cc5b0
- Improve estimation of needed extents when creating thin-pool.
d2cc5b0
- Use extra 1% when resizing thin-pool metadata LV with --use-policy.
d2cc5b0
- Enhance --use-policy percentage rounding.
d2cc5b0
- Allow pvmove of writecache origin.
d2cc5b0
- Report integrity fields.
d2cc5b0
- Integrity volumes defaults to journal mode.
d2cc5b0
a875f27
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.03.10-2
a875f27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
a875f27
7237a18
* Sun Aug 09 2020 Marian Csontos <mcsontos@redhat.com> - 2.03.10-1
7237a18
- Add integrity with raid capability.
7237a18
- Add writecache and integrity support to lvmdbusd.
7237a18
- Zero pool metadata on allocation (disable with allocation/zero_metadata=0).
7237a18
- Failure in zeroing or wiping will fail command (bypass with -Zn, -Wn).
7237a18
- Add lvcreate of new cache or writecache lv with single command.
7237a18
- Generate unique cachevol name when default required from lvcreate.
7237a18
- Converting RAID1 volume to one with same number of legs now succeeds with a
7237a18
  warning.
7237a18
- Fix conversion to raid from striped lagging type.
7237a18
- Fix conversion to 'mirrored' mirror log with larger regionsize.
7237a18
- Fix running out of free buffers for async writing for larger writes.
7237a18
- Fix support for lvconvert --repair used by foreign apps (i.e. Docker).
7237a18
- Add support for VDO in blkdeactivate script.
7237a18
f6c552b
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.03.09-4
f6c552b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
f6c552b
3ee5ecb
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 2.03.09-3
3ee5ecb
- Use make macros
3ee5ecb
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
3ee5ecb
ba7e200
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.03.09-2
ba7e200
- Rebuilt for Python 3.9
ba7e200
623a10f
* Thu Mar 26 2020 Marian Csontos <mcsontos@redhat.com> - 2.03.09-1
623a10f
- Fix showing of a dm kernel error when uncaching a volume with cachevol.
623a10f
- Fix memleak in syncing of internal cache.
623a10f
- Fix pvck dump_current_text memleak.
623a10f
- Fix lvmlockd result code on error path for _query_lock_lv().
623a10f
- Update pvck man page and help output.
623a10f
- Accept more output lines from vdo_format.
623a10f
- Prevent raid reshaping of stacked volumes.
623a10f
- Writecache and VDO volume handling improvements.
623a10f
81be25c
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.03.07-2
81be25c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
81be25c
ccd8af0
* Tue Dec 03 2019 Marian Csontos <mcsontos@redhat.com> - 2.03.07-1
ccd8af0
- Ensure minimum required region size on striped RaidLV creation.
ccd8af0
- Fix resize of thin-pool with data and metadata of different segtype.
ccd8af0
- Improve mirror type leg splitting.
ccd8af0
- Fix activation order when removing merged snapshot.
ccd8af0
- Experimental VDO support for lvmdbusd.
ccd8af0
81bc268
* Wed Oct 23 2019 Marian Csontos <mcsontos@redhat.com> - 2.03.06-1
81bc268
- IMPORTANT: Prevent creating VGs with PVs with different logical block sizes.
81bc268
- Fix metadata writes from corrupting with large physical block size.
81bc268
- Correctly set read_ahead for LVs when pvmove is finished.
81bc268
- Add support for DM_DEVICE_GET_TARGET_VERSION into device_mapper.
81bc268
- Activate thin-pool layered volume as 'read-only' device.
81bc268
- Ignore crypto devices with UUID signature CRYPT-SUBDEV.
81bc268
- Synchronize with udev when dropping snapshot.
81bc268
- Add missing device synchronization point before removing pvmove node.
81bc268
- See WHATS_NEW for more.
81bc268
d50e806
* Wed Sep 18 2019 Marian Csontos <mcsontos@redhat.com> - 2.03.05-4
d50e806
- Remove unsupported OPTIONS+="event_timeout" from udev rule (#1749857)
d50e806
6313bae
* Tue Aug 27 2019 Adam Williamson <awilliam@redhat.com> - 2.03.05-3
6313bae
- Backport fix for converting dbus.UInt to string in Python 3.8 (#1745597)
6313bae
ec5dbb4
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.03.05-2
ec5dbb4
- Rebuilt for Python 3.8
ec5dbb4
0469456
* Wed Jul 31 2019 Marian Csontos <mcsontos@redhat.com> - 2.03.05-1
0469456
- IMPORTANT: Prohibit mirrored 'mirror' log via lvcreate and lvconvert. Use RAID1.
0469456
- IMPORTANT: Dropped deprecated liblvm2app.
0469456
- IMPORTANT: clvmd dropped. Use lvmlockd for cluster locking.
0469456
- Dropped lvmetad.
0469456
- Deduplication and compression - support for VDO volumes.
0469456
- Add device hints to reduce scanning.
0469456
- See WHATS_NEW and WHATS_NEW_DM in the documentation directory for more.
0469456
e7e326a
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.02.185-2
e7e326a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
e7e326a
19eaecf
* Mon May 13 2019 Marian Csontos <mcsontos@redhat.com> - 2.02.185-1
19eaecf
- Fix change of monitoring in clustered volumes.
19eaecf
- Improve -lXXX%%VG modifier which improves cache segment estimation.
19eaecf
- Add synchronization with udev before removing cached devices.
19eaecf
- Fix missing growth of _pmspare volume when extending _tmeta volume.
19eaecf
- Automatically grow thin metadata, when thin data gets too big.
19eaecf
- Add cached devices support to vgsplit.
19eaecf
- Fix signal delivery checking race in libdaemon (lvmetad).
19eaecf
- Add missing Before=shutdown.target to LVM2 services to fix shutdown ordering.
19eaecf
9bb24aa
* Mon Apr 01 2019 Marian Csontos <mcsontos@redhat.com> - 2.02.184-1
9bb24aa
- IMPORTANT: Change scan_lvs default to 0 so LVs are not scanned for PVs.
9bb24aa
- Fix (de)activation of RaidLVs with visible SubLVs.
9bb24aa
- Add scan_lvs config setting to control if lvm scans LVs for PVs.
9bb24aa
- Fix missing proper initialization of pv_list struct when adding PV.
9bb24aa
- Ensure migration_threshold for cache is at least 8 chunks.
9bb24aa
- Enhance ioctl flattening and add parameters only when needed.
9bb24aa
- Add DM_DEVICE_ARM_POLL for API completness matching kernel.
9bb24aa
526e831
* Thu Mar 07 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.02.183-4
526e831
- Remove obsolete scriptlets
526e831
1b0c303
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.02.183-3
1b0c303
- Rebuild for readline 8.0
1b0c303
50f7cf7
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.02.183-2
50f7cf7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
50f7cf7
6d19360
* Fri Dec 07 2018 Marian Csontos <mcsontos@redhat.com> - 2.02.183-1
6d19360
- Bug fix release addressing issus with MD RAID version 1.0 and 0.90.
6d19360
4f0f5d1
* Wed Oct 31 2018 Marian Csontos <mcsontos@redhat.com> - 2.02.182-1
4f0f5d1
- Important bugfix release fixing possible data corruption.
4f0f5d1
dede4cb
* Thu Aug 02 2018 Marian Csontos <mcsontos@redhat.com> - 2.02.181-1
dede4cb
- Reject conversions on raid1 LVs with split tracked SubLVs.
dede4cb
- Reject conversions on raid1 split tracked SubLVs.
dede4cb
- Fix dmstats list failing when no regions exist.
dede4cb
- Reject conversions of LVs under snapshot.
dede4cb
- Limit suggested options on incorrect option for lvconvert subcommand.
dede4cb
- Add vdo plugin for monitoring VDO devices.
dede4cb
bf8243e
* Thu Jul 19 2018 Marian Csontos <mcsontos@redhat.com> - 2.02.180-1
bf8243e
- Never send any discard ioctl with test mode.
bf8243e
- Fix thin-pool alloc which needs same PV for data and metadata.
bf8243e
- Enhance vgcfgrestore to check for active LVs in restored VG.
bf8243e
- Provide possible layouts when converting between linear and striped/raid.
bf8243e
- Fix unmonitoring of merging snapshots.
bf8243e
- Cache can uses metadata format 2 with cleaner policy.
bf8243e
- Avoid showing internal error in lvs output or pvmoved LVs.
bf8243e
- Fix check if resized PV can also fit metadata area.
bf8243e
- Reopen devices RDWR only before writing to avoid udev issues.
bf8243e
- Change pvresize output confusing when no resize took place.
bf8243e
- Fix lvmetad hanging on shutdown.
bf8243e
- Fix mem leak in clvmd and more coverity issues.
bf8243e
0449dad
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.02.179-4
0449dad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
0449dad
215bb0c
* Tue Jul 10 2018 Marian Csontos <mcsontos@redhat.com> - 2.02.179-3
215bb0c
- Remove deprecated python bindings.
215bb0c
6ba9786
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.02.179-2
215bb0c
- Rebuilt for Python 3.7.
6ba9786
a5b11cc
* Mon Jun 18 2018 Marian Csontos <mcsontos@redhat.com> - 2.02.179-1
a5b11cc
- Bugfix release mainly fixing known cache and lvmlockd issues.
a5b11cc
a5b11cc
* Wed Jun 13 2018 Marian Csontos <mcsontos@redhat.com> - 2.02.178-1
ee1bf24
- Remove the rc1 from release.
ee1bf24
d9a02cc
* Tue May 29 2018 Marian Csontos <mcsontos@redhat.com> - 2.02.178-0.1.rc1
d9a02cc
- Remove lvm1 and pool format handling and add filter to ignore them.
d9a02cc
- Rework disk scanning and when it is used.
d9a02cc
- Add new io layer using libaio for faster scanning.
d9a02cc
- Support activation of component LVs in read-only mode.
d9a02cc
- Avoid non-exclusive activation of exclusive segment types.
d9a02cc
- Restore pvmove support for clusterwide active volumes (2.02.177).
d9a02cc
- Add prioritized_section() to restore cookie boundaries (2.02.177).
d9a02cc
- Again accept striped LV as COW LV with lvconvert -s (2.02.169).
d9a02cc
- Restore usability of thin LV to be again external origin for another thin (2.02.169).
d9a02cc
- See WHATS_NEW and WHATS_NEW_DM in the documentation directory for more.
d9a02cc
b5fe257
* Wed Apr 04 2018 Marian Csontos <mcsontos@redhat.com> - 2.02.177-5
b5fe257
- Disable python2 bindings.
b5fe257
37ffe76
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.02.177-4
37ffe76
- Escape macros in %%changelog
37ffe76
baef828
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.02.177-3
baef828
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
baef828
a3e725c
* Tue Jan 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.02.177-2
a3e725c
- Update Python 2 dependency declarations to new packaging standards
a3e725c
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
a3e725c
0948a07
* Tue Dec 19 2017 Marian Csontos <mcsontos@redhat.com> - 2.02.177-1
0948a07
- When writing text metadata content, use complete 4096 byte blocks.
0948a07
- Change text format metadata alignment from 512 to 4096 bytes.
0948a07
- When writing metadata, consistently skip mdas marked as failed.
0948a07
- Refactor and adjust text format metadata alignment calculation.
0948a07
- Fix python3 path in lvmdbusd to use value detected by configure.
0948a07
- Reduce checks for active LVs in vgchange before background polling.
0948a07
- Ensure _node_send_message always uses clean status of thin pool.
0948a07
- Fix lvmlockd to use pool lock when accessing _tmeta volume.
0948a07
- Report expected sanlock_convert errors only when retries fail.
0948a07
- Avoid blocking in sanlock_convert on SH to EX lock conversion.
0948a07
- Deactivate missing raid LV legs (_rimage_X-missing_Y_Z) on decativation.
0948a07
- Skip read-modify-write when entire block is replaced.
0948a07
- Categorise I/O with reason annotations in debug messages.
0948a07
- Allow extending of raid LVs created with --nosync after a failed repair.
0948a07
- Command will lock memory only when suspending volumes.
0948a07
- Merge segments when pvmove is finished.
0948a07
- Remove label_verify that has never been used.
0948a07
- Ensure very large numbers used as arguments are not casted to lower values.
0948a07
- Enhance reading and validation of options stripes and stripes_size.
0948a07
- Fix printing of default stripe size when user is not using stripes.
0948a07
- Activation code for pvmove automatically discovers holding LVs for resume.
0948a07
- Make a pvmove LV locking holder.
0948a07
- Do not change critical section counter on resume path without real resume.
0948a07
- Enhance activation code to automatically suspend pvmove participants.
0948a07
- Prevent conversion of thin volumes to snapshot origin when lvmlockd is used.
0948a07
- Correct the steps to change lock type in lvmlockd man page.
0948a07
- Retry lock acquisition on recognized sanlock errors.
0948a07
- Fix lock manager error codes in lvmlockd.
0948a07
- Remove unnecessary single read from lvmdiskscan.
0948a07
- Check raid reshape flags in vg_validate().
0948a07
- Add support for pvmove of cache and snapshot origins.
0948a07
- Avoid using precommitted metadata for suspending pvmove tree.
0948a07
- Ehnance pvmove locking.
0948a07
- Deactivate activated LVs on error path when pvmove activation fails.
0948a07
- Add "io" to log/debug_classes for logging low-level I/O.
0948a07
- Avoid importing persistent filter in vgscan/pvscan/vgrename.
0948a07
- Fix memleak of string buffer when vgcfgbackup runs in secure mode.
0948a07
- Do not print error when clvmd cannot find running clvmd.
0948a07
- Prevent start of new merge of snapshot if origin is already being merged.
0948a07
- Fix offered type for raid6_n_6 to raid5 conversion (raid5_n).
0948a07
- Deactivate sub LVs when removing unused cache-pool.
0948a07
- Do not take backup with suspended devices.
0948a07
- Avoid RAID4 activation on incompatible kernels under all circumstances.
0948a07
- Reject conversion request to striped/raid0 on 2-legged raid4/5.
0948a07
- Activation tree of thin pool skips duplicated check of pool status.
0948a07
- Remove code supporting replicator target.
0948a07
- Do not ignore failure of _info_by_dev().
0948a07
- Propagate delayed resume for pvmove subvolumes.
0948a07
- Suppress integrity encryption keys in 'table' output unless --showkeys supplied.
0948a07
e18384b
* Thu Dec 14 2017 Marian Csontos <mcsontos@redhat.com> - 2.02.176-2
e18384b
- Add testsuite subpackage.
e18384b
4bf852b
* Fri Nov 03 2017 Marian Csontos <mcsontos@redhat.com> - 2.02.176-1
4bf852b
- Fix segfault in lvm_pv_remove in liblvm. (2.02.173)
4bf852b
- Do not allow storing VG metadata with LV without any segment.
4bf852b
- Fix printed message when thin snapshot was already merged.
4bf852b
- Remove created spare LV when creation of thin-pool failed.
4bf852b
- Avoid reading ignored metadata when MDA gets used again.
4bf852b
- Fix detection of moved PVs in vgsplit. (2.02.175)
4bf852b
- Ignore --stripes/--stripesize on RAID takeover
4bf852b
- Disallow creation of snapshot of mirror/raid subLV (was never supported).
4bf852b
- Keep Install section only in *.socket systemd units.
4bf852b
- Improve used paths for generated systemd units and init shells.
4bf852b
- Fix regression in more advanced vgname extraction in lvconvert (2.02.169).
4bf852b
- Allow lvcreate to be used for caching of _tdata LV.
4bf852b
- Avoid internal error when resizing cache type _tdata LV (not yet supported).
4bf852b
- Show original converted names when lvconverting LV to pool volume.
4bf852b
- Move lib code used only by liblvm into metadata-liblvm.c.
4bf852b
- Distinguish between device not found and excluded by filter.
4bf852b
- Monitor external origin LVs.
e18384b
- Allow lvcreate --type mirror to work with 100%%FREE.
4bf852b
- Improve selection of resource name for complex volume activation lock.
4bf852b
- Avoid cutting first character of resource name for activation lock.
4bf852b
- Support for encrypted devices in fsadm.
4bf852b
- Improve thin pool overprovisioning and repair warning messages.
4bf852b
- Fix incorrect adjustment of region size on striped RaidLVs.
4bf852b
- Issue a specific error with dmsetup status if device is unknown.
4bf852b
- Fix RT_LIBS reference in generated libdevmapper.pc for pkg-config.
4bf852b
08ce2ea
* Mon Oct 09 2017 Marian Csontos <mcsontos@redhat.com> - 2.02.175-1
08ce2ea
- Use --help with blockdev when checking for --getsize64 support in fsadm.
08ce2ea
- Dump lvmdbusd debug information with SIGUSR1.
08ce2ea
- Fix metadata corruption in vgsplit and vgmerge intermediate states.
08ce2ea
- Add PV_MOVED_VG PV status flag to mark PVs moving between VGs.
08ce2ea
- Fix lvmdbus hang and recognise unknown VG correctly.
08ce2ea
- Improve error messages when command rules fail.
08ce2ea
- Require LV name with pvmove in a shared VG.
08ce2ea
- Allow shared active mirror LVs with lvmlockd, dlm, and cmirrord.
08ce2ea
- Support lvconvert --repair with cache and cachepool volumes.
08ce2ea
- lvconvert --repair respects --poolmetadataspare option.
08ce2ea
- Fix thin pool creation in a shared VG. (2.02.173)
08ce2ea
- Schedule exit when received SIGTERM in dmeventd.
08ce2ea
- Fix blkdeactivate regression with failing DM/MD devs deactivation (1.02.142).
08ce2ea
- Add blkdeactivate -r wait option to wait for MD resync/recovery/reshape.
08ce2ea
- Use blkdeactivate -r wait in blk-availability systemd service/initscript.
08ce2ea
- Also try to unmount /boot on blkdeactivate -u if on top of supported device.
08ce2ea
- Fix typo in blkdeactivate's '--{dm,lvm,mpath}options' option name.
08ce2ea
- Correct return value testing when get reserved values for reporting.
08ce2ea
- Take -S with dmsetup suspend/resume/clear/wipe_table/remove/deps/status/table.
08ce2ea
- Fix mistakenly commented out %%python_provide line for python3-lvm.
08ce2ea
ed7ef95
* Mon Oct 02 2017 Troy Dawson <tdawson@redhat.com> - 2.02.174-2
ed7ef95
- Bump to rebuild on rebuilt corosync
ed7ef95
- Cleanup spec file conditionals
ed7ef95
852dd0a
* Wed Sep 20 2017 Marian Csontos <mcsontos@redhat.com> - 2.02.174-1.f28
852dd0a
- NOTE: Deprecating python bindings and liblvm2app.
852dd0a
- Prevent raid1 split with trackchanges in a shared VG.
852dd0a
- Avoid double unlocking of client & lockspace mutexes in lvmlockd.
852dd0a
- Fix leaking of file descriptor for non-blocking filebased locking.
852dd0a
- Fix check for 2nd mda at end of disk fits if using pvcreate --restorefile.
852dd0a
- Use maximum metadataarea size that fits with pvcreate --restorefile.
852dd0a
- Always clear cached bootloaderarea when wiping label e.g. in pvcreate.
852dd0a
- Disallow --bootloaderareasize with pvcreate --restorefile.
852dd0a
- Fix lvmlockd check for running lock managers during lock adoption.
852dd0a
- Add --withgeneralpreamble and --withlocalpreamble to lvmconfig.
852dd0a
- Add warning when creating thin-pool with zeroing and chunk size >= 512KiB.
852dd0a
- Introduce exit code 4 EINIT_FAILED to replace -1 when initialisation fails.
852dd0a
- Add synchronization points with udev during reshape of raid LVs.
852dd0a
- Restore umask when creation of node fails.
852dd0a
- Add --concise to dmsetup create for many devices with tables in one command.
852dd0a
- Accept minor number without major in library when it knows dm major number.
852dd0a
- Introduce single-line concise table output format: dmsetup table --concise.
852dd0a
8333306
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.02.173-4
8333306
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
8333306
d74b785
* Sun Jul 30 2017 Florian Weimer <fweimer@redhat.com> - 2.02.173-3
d74b785
- Rebuild with binutils fix for ppc64le (#1475636)
d74b785
515955a
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.02.173-2
515955a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
515955a
b7e5bf9
* Tue Jul 25 2017 Marian Csontos <mcsontos@redhat.com> - 2.02.173-1
b7e5bf9
- Create /dev/disk/by-part{uuid,label} and gpt-auto-root symlinks with udev.
b7e5bf9
- Add synchronization points with udev during conversion of raid LVs.
b7e5bf9
- Improve --size args validation and report more detailed error message.
b7e5bf9
- Initialize debugging mutex before any debug message in clvmd.
b7e5bf9
- Log error instead of warn when noticing connection problem with lvmetad.
b7e5bf9
- Fix memory leak in lvmetad when working with duplicates.
b7e5bf9
- Remove restrictions on reshaping open and clustered raid devices.
b7e5bf9
- Add incompatible data_offset to raid metadata to fix reshape activation.
b7e5bf9
- Accept 'lvm -h' and 'lvm --help' as well as 'lvm help' for help.
b7e5bf9
- Suppress error message from accept() on clean lvmetad shutdown.
b7e5bf9
- Tidy clvmd client list processing and fix segfaults.
b7e5bf9
- Protect clvmd debug log messages with mutex and add client id.
b7e5bf9
- Fix shellcheck reported issues for script files.
b7e5bf9
467f2fc
* Thu Jun 29 2017 Marian Csontos <mcsontos@redhat.com> - 2.02.172-1
467f2fc
- Do not lvdisplay --maps unset settings of cache pool.
467f2fc
- Fix lvdisplay --maps for cache pool without policy settings.
467f2fc
- Support aborting of flushing cache LV.
467f2fc
- Improve lvcreate --cachepool arg validation.
467f2fc
- Cache format2 flag is now using segment name type field.
467f2fc
- Disallow cachepool creation with policy cleaner and mode writeback.
467f2fc
- Lvconvert --repair handles failing raid legs (present but marked 'D'ead).
467f2fc
- Add display_percent helper function for printing percent values.
467f2fc
- Add dm_percent_to_round_float for adjusted percentage rounding.
467f2fc
- Fix lvcreate extent percentage calculation for mirrors.
467f2fc
- Reenable conversion of data and metadata thin-pool volumes to raid.
467f2fc
- Linear to RAID1 upconverts now use "recover" sync action, not "resync".
467f2fc
- No longer necessary to '--force' a repair for RAID1.
467f2fc
- Improve raid status reporting with lvs.
467f2fc
- dm_get_status_raid() handle better some incosistent md statuses.
467f2fc
- Limit maximal size of thin-pool for specific chunk size.
467f2fc
- Print a warning about in-use PVs with no VG using them.
467f2fc
- Disable automatic clearing of PVs that look like in-use orphans.
467f2fc
- Extend validation of filesystems resized by fsadm.
467f2fc
- Properly handle subshell return codes in fsadm.
467f2fc
- Stop using '--yes' mode when fsadm runs without terminal.
467f2fc
- Support storing status flags via segtype name field.
467f2fc
- Enhance lvconvert automatic settings of possible (raid) LV types.
467f2fc
- Add missing NULL to argv array when spliting cmdline arguments.
467f2fc
- Don't reinstate still-missing devices when correcting inconsistent metadata.
467f2fc
- Allow lvchange to change properties on a thin pool data sub LV.
467f2fc
- Fix reusing of dm_task structure for status reading (used by dmeventd).
467f2fc
- Drop unneeded --config option from raid dmeventd plugin.
467f2fc
- Accept truncated files in calls to dm_stats_update_regions_from_fd().
467f2fc
- Restore Warning by 5% increment when thin-pool is over 80% (1.02.138).
467f2fc
- Reset array with dead rimage devices once raid gets in sync.
467f2fc
6be2456
* Fri Jun 09 2017 Marian Csontos <mcsontos@redhat.com> - 2.02.171-3
7db022a
- Fix lvmdbusd not passing --all with vgreduce --removemissing.
6be2456
ba2af41
* Wed May 17 2017 Marian Csontos <mcsontos@redhat.com> - 2.02.171-2
ba2af41
- Fix lvmdbusd mangling config options.
ba2af41
a730006
* Tue May 09 2017 Marian Csontos <mcsontos@redhat.com> - 2.02.171-1
a730006
- Add RAID takeover and reshaping.
a730006
- Add pvcreate prompt when device size doesn't match setphysicalvolumesize.
a730006
- Remove obsolete lvmchange binary - convert to built-in command.
a730006
- Support cache segment with configurable metadata format.
a730006
- Add option for lvcreate/lvconvert --cachemetadataformat auto|1|2.
a730006
- Add allocation/cache_metadata_format profilable settings.
a730006
- Command line options, help and man pages using common definitions.
a730006
- Add build-time configuration command line to 'lvm version' output.
a730006
- Disable lvmetad when lvconvert --repair is run.
a730006
- Raise mirror/raid default regionsize to 2MiB.
a730006
- Support shrinking of RaidLVs.
a730006
- Introduce global/fsadm_executable to make fsadm path configurable.
a730006
- Look for limited thin pool metadata size when using 16G metadata.
a730006
- Add lvconvert pool creation rule disallowing options with poolmetadata.
a730006
- Fix missing lvmlockd LV locks in lvchange and lvconvert.
a730006
- Fix dmeventd setup for lvchange --poll.
a730006
- Fix use of --poll and --monitor with lvchange and vgchange.
a730006
- Disallow lvconvert of hidden LV to a pool.
a730006
- Ignore --partial option when not used for activation.
a730006
- Allow --activationmode option with lvchange --refresh.
a730006
- Allow valid lvconvert --regionsize change
a730006
- Fix SIGINT blocking to prevent corrupted metadata
a730006
- Fix systemd unit existence check for lvmconf --services --startstopservices.
a730006
- Check and use PATH_MAX buffers when creating vgrename device paths.
a730006
- Handle known table line parameter order change in specific raid target vsns.
a730006
- Show more information for cached volumes in lvdisplay [-m].
a730006
- Use function cache_set_params() for both lvcreate and lvconvert.
a730006
- Skip rounding on cache chunk size boudary when create cache LV.
a730006
- Improve cache_set_params support for chunk_size selection.
a730006
- Fix metadata profile allocation/cache_[mode|policy] setting.
a730006
- Fix missing support for using allocation/cache_pool_chunk_size setting.
a730006
- Support conversion of raid type, stripesize and number of disks
a730006
- Reject writemostly/writebehind in lvchange during resynchronization.
a730006
- Deactivate active origin first before removal for improved workflow.
a730006
- Fix regression of accepting both --type and -m with lvresize. (2.02.158)
a730006
- Add extra memory page when limiting pthread stack size in clvmd.
a730006
- Support striped/raid0* <-> raid10_near conversions.
a730006
- Support region size changes on existing RaidLVs.
a730006
- Avoid parallel usage of cpg_mcast_joined() in clvmd with corosync.
a730006
- Support raid6_{ls,rs,la,ra}_6 segment types and conversions from/to it.
a730006
- Support raid6_n_6 segment type and conversions from/to it.
a730006
- Support raid5_n segment type and conversions from/to it.
a730006
- Support new internal command _dmeventd_thin_command.
a730006
- Introduce new dmeventd/thin_command configurable setting.
a730006
- Use new default units 'r' for displaying sizes.
a730006
- Also unmount mount point on top of MD device if using blkdeactivate -u.
a730006
- Restore check preventing resize of cache type volumes (2.02.158).
a730006
- Add missing udev sync when flushing dirty cache content.
a730006
- vgchange -p accepts only uint32 numbers.
a730006
- Report thin LV date for merged LV when the merge is in progress.
a730006
- Detect if snapshot merge really started before polling for progress.
a730006
- Checking LV for merging origin requires also it has merged snapshot.
a730006
- Extend validation of metadata processing.
a730006
- Enable usage of cached volumes as snapshot origin LV.
a730006
- Fix displayed lv name when splitting snapshot (2.02.146).
a730006
- Warn about command not making metadata backup just once per command.
a730006
- Enable usage of cached volume as thin volume's external origin.
a730006
- Support cache volume activation with -real layer.
a730006
- Improve search of lock-holder for external origin and thin-pool.
a730006
- Support status checking of cache volume used in layer.
a730006
- Avoid shifting by one number of blocks when clearing dirty cache volume.
a730006
- Extend metadata validation of external origin LV use count.
a730006
- Fix dm table when the last user of active external origin is removed.
a730006
- Improve reported lvs status for active external origin volume.
a730006
- Fix table load for splitted RAID LV and require explicit activation.
a730006
- Always active splitted RAID LV exclusively locally.
a730006
- Do not use LV RAID status bit for segment status.
a730006
- Check segtype directly instead of checking RAID in segment status.
a730006
- Reusing exiting code for raid image removal.
a730006
- Fix pvmove leaving -pvmove0 error device in clustered VG.
a730006
- Avoid adding extra '_' at end of raid extracted images or metadata.
a730006
- Optimize another _rmeta clearing code.
a730006
- Fix deactivation of raid orphan devices for clustered VG.
a730006
- Fix lvconvert raid1 to mirror table reload order.
a730006
- Add internal function for separate mirror log preparation.
a730006
- Fix segfault in lvmetad from missing NULL in daemon_reply_simple.
a730006
- Simplify internal _info_run() and use _setup_task_run() for mknod.
a730006
- Better API for internal function _setup_task_run.
a730006
- Avoid using lv_has_target_type() call within lv_info_with_seg_status.
a730006
- Simplify internal lv_info_with_seg_status API.
a730006
- Decide which status is needed in one place for lv_info_with_seg_status.
a730006
- Fix matching of LV segment when checking for it info status.
a730006
- Report log_warn when status cannot be parsed.
a730006
- Test segment type before accessing segment members when checking status.
a730006
- Implement compatible target function for stripe segment.
a730006
- Use status info to report merge failed and snapshot invalid lvs fields.
a730006
- See WHATS_NEW and WHATS_NEW_DM in the documentation directory for more.
a730006
8e2a5ea
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.02.168-4
8e2a5ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
8e2a5ea
Igor Gnatenko c637b8a
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 2.02.168-3
Igor Gnatenko c637b8a
- Rebuild for readline 7.x
Igor Gnatenko c637b8a
5d0f551
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2.02.168-2
5d0f551
- Rebuild for Python 3.6
5d0f551
bde14d4
* Thu Dec 01 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.168-1
bde14d4
- Display correct sync_percent on large RaidLVs
bde14d4
- lvmdbusd --blackboxsize <n> added, used to override default size of 16
bde14d4
- Allow a transiently failed RaidLV to be refreshed
bde14d4
- Use lv_update_and_reload() inside mirror code where it applies.
bde14d4
- Preserve mirrored status for temporary layered mirrors.
bde14d4
- Use transient raid check before repairing raid volume.
bde14d4
- Implement transient status check for raid volumes.
bde14d4
- Only log msg as debug if lvm2-lvmdbusd unit missing for D-Bus notification.
bde14d4
- Avoid duplicated underscore in name of extracted LV image.
bde14d4
- Missing stripe filler now could be also 'zero'.
bde14d4
- lvconvert --repair accepts --interval and --background option.
bde14d4
- More efficiently prepare _rmeta devices when creating a new raid LV.
bde14d4
- Document raid status values.
bde14d4
- Always exit dmsetup with success when asked to display help/version.
bde14d4
5f4f830
* Tue Nov 15 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.167-2
5f4f830
- Only log msg as debug if lvm2-lvmdbusd unit missing for D-Bus notification.
5f4f830
d06c778
* Mon Nov 07 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.167-1
d06c778
- Use log_error in regex and sysfs filter to describe reason of failure.
d06c778
- Fix blkdeactivate to deactivate dev stack if dev on top already unmounted.
d06c778
- Prevent non-synced raid1 repair unless --force
d06c778
- Prevent raid4 creation/conversion on non-supporting kernels
d06c778
- Add direct striped -> raid4 conversion
d06c778
- Fix raid4 parity image pair position on conversions from striped/raid0*
d06c778
- Fix a few unconverted return code values for some lvconvert error path.
d06c778
- Disable lvconvert of thin pool to raid while active.
d06c778
- Disable systemd service start rate limiting for lvm2-pvscan@.service.
d06c778
- Log failure of raid device with log_error level.
d06c778
- Use dm_log_with_errno and translate runtime to dm_log only when needed.
d06c778
- Make log messages from dm and lvm library different from dmeventd.
d06c778
- Notice and Info messages are again logged from dmeventd and its plugins.
d06c778
- Dmeventd now also respects DM_ABORT_ON_INTERNAL_ERRORS as libdm based tool.
d06c778
- Report as non default dm logging also when logging with errno was changed.
d06c778
- Use log_level() macro to consistently decode message log level in dmeventd.
d06c778
- Still produce output when dmsetup dependency tree building finds dev missing.
d06c778
- Check and report pthread_sigmask() failure in dmeventd.
d06c778
- Check mem alloc fail in _canonicalize_field_ids().
d06c778
- Use unsigned math when checking more then 31 legs of raid.
d06c778
- Fix 'dmstats delete' with dmsetup older than v1.02.129
d06c778
- Fix stats walk segfault with dmsetup older than v1.02.129
d06c778
7335b4b
* Thu Oct 06 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.166-2
7335b4b
- Add various fixes for lvmdbusd from upcoming lvm2 version 2.02.167.
7335b4b
551f63d
* Mon Sep 26 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.166-1
551f63d
- Fix lvm2-activation-generator to read all LVM2 config sources. (2.02.155)
551f63d
- Fix lvchange-rebuild-raid.sh to cope with older target versions.
551f63d
- Use dm_config_parse_without_dup_node_check() to speedup metadata reading.
551f63d
- Fix lvconvert --repair regression
551f63d
- Fix reported origin lv field for cache volumes. (2.02.133)
551f63d
- Always specify snapshot cow LV for monitoring not internal LV. (2.02.165)
551f63d
- Fix lvchange --discard|--zero for active thin-pool.
551f63d
- Enforce 4MiB or 25% metadata free space for thin pool operations.
551f63d
- Fix lock-holder device for thin pool with inactive thin volumes.
551f63d
- Use --alloc normal for mirror logs even if the mimages were stricter.
551f63d
- Use O_DIRECT to gather metadata in lvmdump.
551f63d
- Ignore creation_time when checking for matching metadata for lvmetad.
551f63d
- Fix possible NULL pointer derefence when checking for monitoring.
551f63d
- Add lvmreport(7) man page.
551f63d
- Don't install lvmraid(7) man page when raid excluded. (2.02.165)
37ffe76
- Report 0% as dirty (copy%%) for cache without any used block.
551f63d
- Fix lvm2api reporting of cache data and metadata percent.
551f63d
- Restore reporting of metadata usage for cache volumes (2.02.155).
551f63d
- Support raid scrubbing on cache origin LV.
551f63d
- Fix man entry for dmsetup status.
551f63d
- Introduce new dm_config_parse_without_dup_node_check().
551f63d
- Don't omit last entry in dmstats list --group.
551f63d
dbba06e
* Wed Sep 07 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.165-1
dbba06e
- Add lvmraid(7) man page.
dbba06e
- Use udev db to check for mpath components before running pvscan for lvmetad.
dbba06e
- Use lsblk -s and lsblk -O in lvmdump only if these options are supported.
dbba06e
- Fix number of stripes shown in lvcreate raid10 message when too many.
dbba06e
- Change lvmdbusd to use new lvm shell facilities.
dbba06e
- Do not monitor cache-pool metadata when LV is just being cleared.
dbba06e
- Add allocation/cache_pool_max_chunks to prevent misuse of cache target.
dbba06e
- Give error not segfault in lvconvert --splitmirrors when PV lies outside LV.
dbba06e
- Fix typo in report/columns_as_rows config option name recognition (2.02.99).
dbba06e
- Avoid PV tags when checking allocation against parallel PVs. 
dbba06e
- Disallow mirror conversions of raid10 volumes.
dbba06e
- Fix dmeventd unmonitoring when segment type (and dso) changes.
dbba06e
- Don't allow lvconvert --repair on raid0 devices or attempt to monitor them.
dbba06e
- No longer adjust incorrect number of raid stripes supplied to lvcreate.
dbba06e
- Move lcm and gcd to lib/misc.
dbba06e
- Fix vgsplit of external origins. (2.02.162)
dbba06e
- Prohibit creation of RAID LVs unless VG extent size is at least the page size.
dbba06e
- Suppress some unnecessary --stripesize parameter warnings.
dbba06e
- Fix 'pvmove -n name ...' to prohibit collocation of RAID SubLVs
dbba06e
- Improve explanation of udev fallback in libdevmapper.h.
dbba06e
57275ca
* Mon Aug 15 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.164-2
57f970a
- Fix selection of PVs when allocating raid0_meta.
57f970a
- Fix sdbus socket leak leading to hang in lvmnotify.
57f970a
- Specify max stripes for raid LV types: raid0:64; 1:10; 4,5:63; 6:62; 10:32.
57f970a
- Avoid double suffix when naming _rmeta LV paired with _rimage LV.
57f970a
f81b7f3
* Wed Aug 10 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.163-1
f81b7f3
- Add profile for lvmdbusd which uses lvm shell json report output.
f81b7f3
- Restrict in-command modification of some parms in lvm shell.
f81b7f3
- Apply LVM_COMMAND_PROFILE early for lvm shell.
f81b7f3
- Refactor reporting so lvm shell log report collects whole of cmd execution.
f81b7f3
- Support LVM_*_FD envvars to redirect output to file descriptors.
f81b7f3
- Limit use of --corelog and --mirrorlog to mirrors in lvconvert.
f81b7f3
- Reject --nosync option for RAID6 LVs in lvcreate.
f81b7f3
- Do not refresh whole cmd context if profile dropped after processing LVM cmd. 
f81b7f3
- Support straightforward lvconvert between striped and raid4 LVs. 
f81b7f3
- Support straightforward lvconvert between raid1 and mirror LVs. 
f81b7f3
- Report supported conversions when asked for unsupported raid lvconvert.
f81b7f3
- Add "--rebuild PV" option to lvchange to allow for PV selective rebuilds.
f81b7f3
- Preserve existing mirror region size when using --repair.
f81b7f3
- Forbid stripe parameters with lvconvert --repair.
f81b7f3
- Unify stripe size validation into get_stripe_params to catch missing cases.
f81b7f3
- Further lvconvert validation logic refactoring.
f81b7f3
- Add "lvm fullreport" man page.
f81b7f3
- Add dm_report_destroy_rows/dm_report_group_output_and_pop_all for lvm shell.
f81b7f3
- Adjust group handling and json production for lvm shell.
f81b7f3
8a4e171
* Fri Jul 29 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.162-1
8a4e171
- Support lvconvert -Zn also when doing full cache pool conversion.
8a4e171
- Suppress not zeroing warn when converting to thin LV for non-zeroing tpool.
8a4e171
- Fix automatic updates of PV extension headers to newest version.
8a4e171
- Improve lvconvert --trackchanges validation to require --splitmirrors 1.
8a4e171
- Add note about lastlog built-in command to lvm man page.
8a4e171
- Fix unrecognised segtype flag message.
8a4e171
- lvconvert not clears cache pool metadata ONLY with -Zn. 
8a4e171
- Enabled lvconvert --uncache to work with partial VG.
8a4e171
- Fix json reporting to escape '"' character that may appear in reported string.
8a4e171
ef2f5a2
* Thu Jul 21 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.161-3
ef2f5a2
- Enable LVM notifications over dbus for lvmdbusd.
ef2f5a2
ded5d94
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.02.161-2
ded5d94
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
ded5d94
cfe3477
* Mon Jul 18 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.161-1
cfe3477
- Prohibit some lvchange/lvresize that were failing on raid0 volumes.
cfe3477
- Fix segfaults in complex vgsplits. (2.02.159)
cfe3477
- Reformat unwieldy lvconvert man page.
cfe3477
- Allow --force to be passed through to pvcreate from vgcreate. (2.02.144)
cfe3477
- Fix lvresize of filesystem when LV has already right size (2.02.141)
cfe3477
- New LVM_LOG_FILE_MAX_LINES env var to limit max size of created logs.
cfe3477
- Disable queueing on mpath devs in blk-availability systemd service/initscript.
cfe3477
- Add new -m|--mpathoption disablequeueing to blkdeactivate.
cfe3477
- Automatically group regions with 'create --segments' unless --nogroup.
cfe3477
- Fix resource leak when deleting the first member of a group.
cfe3477
- Allow --bounds with 'create --filemap' for dmstats.
cfe3477
- Enable creation of filemap regions with histograms.
cfe3477
- Enable histogram aggregation for regions with more than one area.
cfe3477
- Enable histogram aggregation for groups of regions.
cfe3477
- Add a --filemap option to 'dmstats create' to allow mapping of files.
cfe3477
- Add dm_stats_create_regions_from_fd() to map file extents to regions.
cfe3477
0d193da
* Thu Jul 07 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.160-1
0d193da
- Minor fixes from coverity.
0d193da
4dde59e
* Thu Jul 07 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.159-1
4dde59e
- Add raid0_meta segment type that provides metadata space for raid conversions.
4dde59e
- Fix created link for a used pool for vgmknode.
4dde59e
- Introduce and use is_power_of_2 macro.
4dde59e
- Support conversions between striped and raid0 segment types.
4dde59e
- Add infrastructure for raid takeover lvconvert options.
4dde59e
- Update default dmstats field selections for groups.
4dde59e
- Add 'obj_type', 'group_id', and 'statsname' fields to dmstats reports.
4dde59e
- Add --area, --region, and --group to dmstats to control object selection.
4dde59e
- Add --alias, --groupid, --regions to dmstats for group creation and deletion.
4dde59e
- Add 'group' and 'ungroup' commands to dmstats.
4dde59e
- Allow dm_stats_delete_group() to optionally delete all group members.
4dde59e
- Add dm_stats_get_object_type() to return the type of object present.
4dde59e
- Add dm_stats_walk_init() allowing control of objects visited by walks.
4dde59e
- Add dm_stats_get_group_descriptor() to return the member list as a string.
4dde59e
- Introduce dm_stats_get_nr_groups() and dm_stats_group_present().
4dde59e
- Add dm_stats_{get,set}_alias() to set and retrieve alias names for groups.
4dde59e
- Add dm_stats_get_group_id() to return the group ID for a given region.
4dde59e
- Add dm_stats_{create,delete}_group() to allow grouping of stats regions.
4dde59e
- Add enum-driven dm_stats_get_{metric,counter}() interfaces.
4dde59e
- Add dm_bitset_parse_list() to parse a string representation of a bitset.
4dde59e
- Thin dmeventd plugin umounts lvm2 volume only when pool is 95% or more.
4dde59e
ef88c26
* Tue Jun 28 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.158-1
ef88c26
- Add a more efficient native vgimportclone command to replace the script.
ef88c26
- Make lvmlockd always attempt to connect to lvmetad if no connection exists.
ef88c26
- Let lvmetad handle new connections after shutdown signal.
ef88c26
- Disable lvmetad when vgcfgrestore begins and enable it again after.
ef88c26
- Make pvscan do activation if lvmetad is configured but not running.
ef88c26
- Fix rescanning the PVs for a single VG when using lvmetad.
ef88c26
- Pool metadata lvresize uses now same code as resize of normal volume.
ef88c26
- Preserve monitoring status when updating thin-pool metadata.
ef88c26
- Return 0 (inactive) when status cannot be queried in _lv_active().
ef88c26
- Switch to log_warn() for failing activation status query.
ef88c26
- Replace vgimportclone script with binary.
ef88c26
- While lvmetad is shutting down, continue handling all connections cleanly.
ef88c26
- Refactor lvconvert argument handling code.
ef88c26
- Notify lvmetad when vgcfgrestore changes VG metadata.
ef88c26
- Add --logonly option to report only cmd log for a command, not other reports.
ef88c26
- Add log/command_log_selection to configure default selection used on cmd log. 
ef88c26
- Use 'orphan' object type in cmd log for groups to collect PVs not yet in VGs. 
ef88c26
- Add lvm lastlog command for query and display of last cmd's log in lvm shell.
ef88c26
- Report per-object return codes via cmd log while processing multiple objects.
ef88c26
- Annotate processing code with log report hooks for per-object command log. 
ef88c26
- Also pass common printed messages (besides warnings and errors) to log report.
ef88c26
- Log warnings and errors via report during cmd processing if this is enabled.
ef88c26
- Make it possible to iterate over internal 'orphan' VGs in process_each_vg fn.
ef88c26
- Make -S|--select option groupable that allows this option to be repeated.
ef88c26
- Make -O|--sort option groupable that allows this option to be repeated.
ef88c26
- Add --configreport option to select report for which next options are applied.
ef88c26
- Add support for priorities on grouping command arguments.
ef88c26
- Add report/{pvs,vgs,lvs,pvsegs,segs}_{cols,sort}_full to lvm.conf.
ef88c26
- Add lvm fullreport command for joined PV, VG, LV and segment report per VG.
ef88c26
- Integrate report group handling and cmd log report into cmd processing code.
ef88c26
- Add log/report_command_log to lvm.conf to enable or disable cmd log report.
ef88c26
- Add log/report_output_format to lvm.conf for default report output format.
ef88c26
- Recognize --reportformat {basic|json} option to select report output format.
ef88c26
- Add log/command_log_{sort,cols} to lvm.conf to configure command log report.
ef88c26
- Add log_object_{type,name,id,group,group_id} fields to cmd log. 
ef88c26
- Add log_{seq_num,type,context,message,errno,ret_code} fields to cmd log. 
ef88c26
- Add CMDLOG report type - a separate report type for command logging.
ef88c26
- Recognize 'all' keyword used in selection as synonym for "" (no selection).
ef88c26
- Add dm_report_set_selection to set selection for multiple output of report.
ef88c26
- Add DM_REPORT_OUTPUT_MULTIPLE_TIMES flag for multiple output of same report.
ef88c26
- Move field width handling/sort init from dm_report_object to dm_report_output.
ef88c26
- Add _LOG_BYPASS_REPORT flag for bypassing any log report currently set. 
ef88c26
- Introduce DM_REPORT_GROUP_JSON for report group with JSON output format.
ef88c26
- Introduce DM_REPORT_GROUP_BASIC for report group with basic report output.
ef88c26
- Introduce DM_REPORT_GROUP_SINGLE for report group having single report only.
ef88c26
- Add dm_report_group_{create,push,pop,destroy} to support report grouping.
ef88c26
ef88c26
* Fri Jun 17 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.157-2
fd4993f
- Change pvscan --cache -aay to scan locally if lvmetad fails.
fd4993f
e5d994e
* Mon Jun 13 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.156-1
e5d994e
- Don't allow duplicate orphan PVs to be used with vgcreate/vgextend/pvcreate.
e5d994e
- Improve handling of lvmetad update failures.
e5d994e
- Yes/No prompt accepts '^[ ^t]*([Yy]([Ee]([Ss]|)|)|[Nn]([Oo]|))[ ^t]*$'.
e5d994e
- If available, also collect output from lsblk command when running lvmdump -s.
e5d994e
7345790
* Mon Jun 06 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.155-2
7345790
- Fix regression in blkdeactivate causing dm and md devices to be skipped. (2.02.155)
7345790
620112d
* Mon Jun 06 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.155-1
620112d
- Reject PV tags on pvmove cmdline because only 1 PV is supported. (2.02.141)
620112d
- Fix compilation error when building with configure --disable-devmapper.
620112d
- Fix lvmconfig --type diff to display complete diff if config cascade used.
620112d
- Automatically filter out partitioned loop devices with partscan (losetup -P).
620112d
- Fix lvm devtypes internal error if -S used with field name from pvs/vgs/lvs.
37ffe76
- When reporting Data%%,Snap%%,Meta%%,Cpy%%Sync use single ioctl per LV.
620112d
- Add lvseg_percent_with_info_and_seg_status() for percent retrieval.
620112d
- Enhance internal seg_status handling to understand snapshots better.
620112d
- When refresh failed in suspend, call resume upon error path.
620112d
- Support passthrough cache mode when waiting for clean cache.
620112d
- Check cache status only for 'in-use' cache pools.
620112d
- Extend setup_task() to preset flushing for dm_task object.
620112d
- When checking LV is a merging COW, validate its a COW LV first.
37ffe76
- Correcting value in copy_percent() for 100%%.
620112d
- Update vgreduce to use process_each_vg.
620112d
- Update lvconvert to use process_each_lv.
620112d
- Update pvscan to use process_each_vg for autoactivation.
620112d
- Add basic support for --type raid0 using md.
620112d
- Add support for lvchange --cachemode for cached LV.
620112d
- Fix liblvm2app error handling when setting up context.
620112d
- Delay liblvm2app init in python code until it is needed.
620112d
- Simplify thread locking in lvmetad to fix locking problems.
620112d
- Allow pvremove -ff to remove a duplicate PV.
620112d
- Fix lvm2-activation-generator to read lvm.conf without full command setup.
620112d
- Allow a minimal context to be used in lvm2app for reading lvm.conf.
620112d
- Report passthrough caching mode when parsing cache mode.
620112d
70d78e8
* Mon May 16 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.154-1
70d78e8
- Fix liblvm segfault after failure initialising lvmetad connection.
70d78e8
- Retry open without O_NOATIME if it fails (not file owner/CAP_FOWNER).
70d78e8
- Split _report into one fn for options and arguments and one for processing.
70d78e8
- Show library version in message even if dm driver version is unavailable.
70d78e8
70d78e8
* Tue May 10 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.153-2
5b9a486
- Change warning messages related to duplicate PVs.
5b9a486
- A named device is always processed itself, not switched for a duplicate.
5b9a486
- Add PV attr "d" and report field "duplicate" for duplicate PVs.
5b9a486
- Add config setting to disallow VG changes when duplicate PVs exist.
5b9a486
- Use device size and active LVs to choose the preferred duplicate PV.
5b9a486
- Disable lvmetad when duplicate PVs are seen.
5b9a486
- Support --chunksize option also when caching LV when possible.
5b9a486
- Add function to check for target presence and version via 1 ioctl.
5b9a486
82748b4
* Mon May 02 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.152-1
82748b4
- Use any inherited tags when wiping metadata sub LVs to ensure activation.
82748b4
- Add str_list_wipe.
82748b4
- Improve support for interrupting procesing of volumes during lvchange.
82748b4
- Use failed command return code when lvchanging read-only volume.
82748b4
- Show creation transaction_id and zeroing state of pool with thin volume.
82748b4
- Stop checking for dm_cache_mq policy with cache target 1.9 (alias to smq).
82748b4
- Check first /sys/module/dm_* dir existance before using modprobe.
82748b4
- Remove mpath from 10-dm.rules, superseded by 11-dm-mpath.rules (mpath>=0.6.0).
82748b4
- Add dm_udev_wait_immediate to libdevmapper for waiting outside the library.
82748b4
18a9c13
* Mon Apr 25 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.151-1
18a9c13
- Fix error path after reusing of _setup_task (2.02.150).
18a9c13
- Fix memory access for empty sysfs values (2.02.149).
18a9c13
- Disable lvmetad when lvm1 metadata is seen, so commands revert to scanning.
18a9c13
- Suppress errors when snapshot merge gets delayed because volume is in use.
18a9c13
- Avoid internal snapshot LV names in messages.
18a9c13
- Autodetect and use /run/lock dir when available instead of /var/lock.
18a9c13
- lvchange --refresh for merging thin origin will retry to deactivate snapshot.
18a9c13
- Recognize in-progress snapshot merge for thin volumes from dm table.
18a9c13
- Avoid deciding to initiate a pending snapshot merge during resume.
18a9c13
- Improve retrying lvmetad requests while lvmetad is being updated.
18a9c13
- Read devices instead of using the lvmetad cache if rescan fails.
18a9c13
- Move lvmetad token/filter check and device rescan to the start of commands.
18a9c13
- Don't try deactivating fictional internal LV before snapshot merge. (2.02.105)
18a9c13
- When not obtaining devs from udev, check they exist before caching them.
18a9c13
- Detect device mismatch also when compiling without udev support.
18a9c13
- Do not strip LVM- when debug reporting not found uuid.
18a9c13
b1469ed
* Mon Apr 11 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.150-1
b1469ed
- Avoid using flushing dm status ioctl when checking for usable DM device.
b1469ed
- Check for devices without LVM- uuid prefix only with kernels < 3.X.
e18384b
- Reuse %%FREE size aproximation with lvcreate -l%%PVS thin-pool.
b1469ed
- Allow the lvmdump directory to exist already provided it is empty.
b1469ed
- Show lvconverted percentage with 2 decimal digits.
b1469ed
- Fix regression in suspend when repairing --type mirror (2.02.133).
b1469ed
- Change log_debug ioctl flags from single characters into words.
b1469ed
630b4b2
* Mon Apr 04 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.149-2
630b4b2
- Do not flush thin-pool when checking metadata fullness.
630b4b2
- Remove spurious error about no value in /sys/dev/block/major:minor/dm/uuid.
630b4b2
- Fix device mismatch detection for LV if persistent .cache file is used.
630b4b2
- Fix holder device not being found in /dev while sysfs has it during dev scan.
630b4b2
1693146
* Tue Mar 29 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.148-1
1693146
- Introduce TARGET_NAME and MODULE NAME macros.
1693146
- Replace hard-coded module and target names with macros.
1693146
- Add pv_major and pv_minor report fields.
1693146
- Detect and warn about mismatch between devices used and assumed for an LV.
1693146
- Adjust raid status function.
1693146
cc93451
* Mon Mar 21 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.147-5
cc93451
- If available, use /proc/self/mountinfo to detect mounted volume in fsadm.
cc93451
- Fix resize of stacked raid thin data volume (2.02.141).
cc93451
- Fix test for lvremove failure in lvconvert --uncache (2.02.146).
cc93451
ab66f8c
* Fri Mar 11 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.146-4
ab66f8c
- More man page cleanups in lvconvert.
ab66f8c
- Fix makefile vpath in /udev when generating udev rules files.
ab66f8c
- Another attempt to improve VG name parsing for lvconvert (2.02.144).
ab66f8c
- Use new cache status info and skip flushing for failed cache.
ab66f8c
- Support --uncache with missing PVs.
ab66f8c
- Improve parsing of cache status and report Fail, Error, needs_check, ro.
ab66f8c
a6ebb34
* Fri Mar 11 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.146-3
a6ebb34
- Tidy report field names, headings and widths.
a6ebb34
- Add vgscan --notifydbus to send a dbus notification.
a6ebb34
- Add dbus notification from commands after a PV/VG/LV changes state.
a6ebb34
a728d7b
* Wed Mar 09 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.145-2
a728d7b
- Require python3-gobject-base insetad of python3-gobject.
a728d7b
6790b9b
* Mon Mar 07 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.145-1
6790b9b
- Make it possible to use lvremove and lvrename on historical LVs.
6790b9b
- For historical LVs, report 'none' for lv_layout and 'history' for lv_role.
6790b9b
- Add full_{ancestors,descendants} fields to report LV ancestry with history.
6790b9b
- Report (h)istorical state within 5th bit (State) of the lv_attr field.
6790b9b
- Add lv_historical reporting field to report if LV is historical or not.
6790b9b
- Add lv_time_removed reporting field to display removal time for hist. LVs.
6790b9b
- Report lv_name, lv_uuid, vg_name, lv_time for historical LVs.
6790b9b
- Add --nohistory switch to lvremove to disable history recording on demand.
6790b9b
- Add -H|--history switch to lvs and lvdisplay to include historical LVs.
6790b9b
- Create historical LVs out of removed thin snapshot LVs and record in history.
6790b9b
- Add metadata/lvs_history_retention_time for automatic removal of hist. LVs.
6790b9b
- Add metadata/record_lvs_history config for switching LV history recording.
6790b9b
- Add support and infrastructure for tracking historical LVs.
6790b9b
- Improve lvconvert man page.
6790b9b
- Add kernel_cache_policy lvs field.
6790b9b
- Display [unknown] instead of 'unknown device' in pvs output.
6790b9b
- Fix error path when pvcreate allocation fails (2.02.144).
6790b9b
- Display [unknown] instead of blank for unknown VG names in pvs output.
6790b9b
- Fix dm_config_write_node and variants to return error on subsection failures.
6790b9b
- Remove 4096 char limit due to buffer size if writing dm_config_node.
6790b9b
b9c67ae
* Mon Feb 29 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.144-1
b9c67ae
- Only show (u)sed pv_attr char when PV is not (a)llocatable. (2.02.143)
b9c67ae
- Update makefile to generate lcov output also for lvmpolld and lvmlockd.
b9c67ae
- Fix SystemdService lvm2-lvmdbusd.service name.
b9c67ae
- Improve support for env LVM_VG_NAME for reference VG name in lvconvert.
b9c67ae
- Fix regression when lvresize accepted zero sizes. (2.02.141)
b9c67ae
- Always warn user about PV in use even when pvremove uses --force --force.
b9c67ae
- Use uninitialized pool header detection in all cases.
b9c67ae
- Fix read error detection when checking for uninitialized thin-pool header.
b9c67ae
- Fix error path for internal error in lvmetad VG lookup code.
b9c67ae
- Fix string boundary check in _get_canonical_field_name().
b9c67ae
- Always initialized hist struct in _stats_parse_histogram().
b9c67ae
6a7466e
* Wed Feb 24 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.143-4
083040f
- Reinstate lvm2-lockd on all architectures as sanlock package is fixed now.
083040f
25f0e59
* Tue Feb 23 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.143-3
25f0e59
- Remove Requires: sanlock-lib for lvm2-lockd subpackage if sanlock not compiled.
25f0e59
385e3f7
* Tue Feb 23 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.143-2
385e3f7
- Add Requires: python3-gobject dependency for lvm2-dbusd subpackage.
ac7b6de
- Build lvm2-lockd with sanlock support only on x86_64, arch64 and power64 arch.
385e3f7
d48887c
* Mon Feb 22 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.143-1
d48887c
- Introduce new lvm2-dbusd package providing LVM D-Bus daemon and service.
d48887c
- Fix error path when sending thin-pool message fails in update_pool_lv().
d48887c
- Support reporting CheckNeeded and Fail state for thin-pool and thin LV.
d48887c
- For failing thin-pool and thin volume correctly report percentage as INVALID.
d48887c
- Report -1, not 'unkown' for lv_{snapshot_invalid,merge_failed} with --binary.
d48887c
- Add configure --enable-dbus-service for an LVM D-Bus service.
d48887c
- Replace configure --enable-python_bindings with python2 and python3 versions.
d48887c
- If PV belongs to some VG and metadata missing, skip it if system ID is used.
d48887c
- Automatically change PV header extension to latest version if writing PV/VG.
d48887c
- Identify used PVs in pv_attr field by new 'u' character.
d48887c
- Add pv_in_use reporting field to report if PV is used or not.
d48887c
- Add pv_ext_vsn reporting field to report PV header extension version.
d48887c
- Add protective flag marking PVs as used even if no metadata available.
d48887c
- Improve status parsing for thin-pool and thin devices.
d48887c
cc97188
* Mon Feb 15 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.142-1
cc97188
- Fix memory pool corruption in pvmove (2.02.141).
cc97188
- Support control of spare metadata creation when repairing thin-pool.
cc97188
- Fix config type of 'log/verbose' from bool to int (2.02.99).
cc97188
- Fix inverted data LV thinp watermark calc for dmeventd response (2.02.133).
cc97188
- Use use_blkid_wiping=0 if not defined in lvm.conf and support not compiled in.
cc97188
- Do not check for suspended devices if scanning for lvmetad update.
cc97188
- Clear cached bootloader areas when PV format changed.
cc97188
- Fix partn table filter with external_device_info_source="udev" and blkid<2.20.
cc97188
- Use fully aligned allocations for dm_pool_strdup/strndup() (1.02.64).
cc97188
- Fix thin-pool table parameter feature order to match kernel output.
cc97188
7385a42
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.02.141-2
7385a42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
7385a42
b3061eb
* Mon Jan 25 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.141-1
b3061eb
- Add metadata/check_pv_device_sizes switch to lvm.conf for device size checks.
b3061eb
- Warn if device size is less than corresponding PV size in metadata.
b3061eb
- Cache device sizes internally.
b3061eb
- Restore support for command breaking in process_each_lv_in_vg() (2.02.118).
b3061eb
- Use correct mempool when process_each_lv_in_vg() (2.02.118).
b3061eb
- Fix lvm.8 man to show again prohibited suffixes.
b3061eb
- Fix configure to set proper use_blkid_wiping if autodetected as disabled.
b3061eb
- Initialise udev in clvmd for use in device scanning. (2.02.116)
b3061eb
- Add seg_le_ranges report field for common format when displaying seg devices.
b3061eb
- Honour report/list_item_separator for seg_metadata_le_ranges report field.
b3061eb
- Don't mark hidden devs in -o devices,metadata_devices,seg_pe_ranges.(2.02.140)
b3061eb
- Change LV sizes in seg_pe_ranges report field to match underlying devices.
b3061eb
- Add kernel_cache_settings report field for cache LV settings used in kernel.
b3061eb
- Fix man page for dmsetup udevcreatecookie.
b3061eb
8a2ddfb
* Mon Jan 18 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.140-3
8a2ddfb
- Fix lvm2app to return either 0 or 1 for lvm_vg_is_{clustered,exported}.
8a2ddfb
- Add kernel_discards report field to display thin pool discard used in kernel.
8a2ddfb
- Correct checking of target presence when driver access is disabled.
8a2ddfb
- Eval poolmetadatasize arg earlier in lvresize.
8a2ddfb
- Fix vgcfgrestore to respect allocatable attribute of PVs.
8a2ddfb
- Add report/mark_hidden_devices to lvm.conf.
8a2ddfb
- Use brackets consistently in report fields to mark hidden devices.
8a2ddfb
- Restore background polling processing during auto-activation (2.02.119).
8a2ddfb
- Fix invalid memory read when reporting cache LV policy_name (2.02.126).
8a2ddfb
9f58d66
* Mon Jan 11 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.139-2
9f58d66
- Update lvmlockd with the new VG seqno before devices are suspended.
9f58d66
- Rework vgrename to use the common processing code in toollib.
9f58d66
- Make pvs show new devices on the system since the last .cache update.
9f58d66
- Document F,D and M thin pool health status chars for lv_attr in lvs man page.
9f58d66
- Also add lvm2-activation{-early,-net}.service systemd status for lvmdump -s.
9f58d66
d6961a9
* Mon Jan 04 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.138-1
d6961a9
- Support lvrename for hidden (used) cache pools.
d6961a9
- Fix lvrename for stacked cache pools
d6961a9
- Better support for dmsetup static linkage.
d6961a9
- Extend validity checks on dmeventd client socket.
d6961a9
3f0811f
* Mon Dec 07 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.137-1
3f0811f
- Restore archiving before changing metadata in vgextend (2.02.117).
3f0811f
- Dropped internal usage of log_suppress(2).
3f0811f
- Cleaned logging code for buffer size usage.
3f0811f
- Added internal id_read_format_try() function to check and read valid UUID.
3f0811f
- Change lvcreate, lvrename, lvresize to use process_each_vg.
3f0811f
- Change process_each_vg to handle single VG as separate arg.
3f0811f
- Issue error if ambiguous VG name is supplied in most commands.
3f0811f
- Make process_each fns always work through full list of known VG names.
3f0811f
- Use dm_get_status_mirror() instead of individual parsers.
3f0811f
- Add mem pool arg for check_transient_status() target function.
3f0811f
- Avoid misleading error with -m is omitted with lvconvert to raid types.
3f0811f
- Add system_id to vginfo cache.
3f0811f
- Mirror plugin in dmeventd uses dm_get_status_mirror().
3f0811f
- Add dm_get_status_mirror() for parsing mirror status line.
3f0811f
83406fe
* Wed Dec 02 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.136-1
83406fe
- Add new --sinceversion option for lvmconfig --type new.
83406fe
- Fix inactive table loaded for wrapping thin-pool when resizing it.
83406fe
- Extend the list of ignored libraries when locking memory.
83406fe
- Show error message when trying to create unsupported raid type.
83406fe
- Improve preloading sequence of an active thin-pool target.
83406fe
- Drop extra space from cache target line to fix unneded table reloads.
83406fe
6941658
* Mon Nov 23 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.135-1
6941658
- Add a model file for Coverity.
6941658
- Show correct error message for unsupported yet cache pool repair.
6941658
- Allow lvconvert cache pools' data and metadata LV to raid.
6941658
- Fix reading of old metadata with missing cache policy or mode settings.
6941658
- Issue error if external_device_info_source=udev and udev db record incomplete.
6941658
- Update lvmetad duplicate VG name handling to use hash function extensions.
6941658
- Detect invalid vgrenames by vgid where the name is unchanged.
6941658
- Fix passing of 32bit values through daemons (mostly lvmlockd).
6941658
- Use local memory pool for whole alloc_handle manipulation.
6941658
- Add missing pointer validation after dm_get_next_target().
6941658
- Do not deref NULL pointer in debug message for _match_pv_tags().
6941658
- Drop unneeded stat() call when checking for sysfs file.
6941658
- Fix memory leak on error path of failing thin-pool percentage check.
6941658
- Add missing test for failing node allocation in lvmetad.
6941658
- Correct configure messages when enabling/disabling lvmlockd.
6941658
- Extend dm_hash to support multiple values with the same key.
6941658
- Add missing check for allocation inside dm_split_lvm_name().
6941658
- Test dm_task_get_message_response for !NULL in dm_stats_print_region().
6941658
- Add checks for failing dm_stats_create() in dmsetup.
6941658
- Add missing fifo close when failed to initialize client connection.
6941658
978564e
* Wed Nov 18 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.134-4
1a609c1
- Refactor some lvmetad code and adjust some duplicate PV messages.
1a609c1
- No longer repair/wipe VG/PVs if inaccessible because foreign or shared.
1a609c1
- Pass correct data size to mirror log calc so log can be bigger than 1 extent.
7ebb363
44e9d32
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.02.133-3
9b0761d
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
9b0761d
b1f7a14
* Mon Nov 02 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.133-2
b1f7a14
- Shutdown lvmetad automatically after one hour of inactivity.
b1f7a14
d975462
* Fri Oct 30 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.133-1
d975462
- Support repeated -o|--options for reporting commands.
d975462
- Support -o- and -o# for reporting commands to remove and compact fields.
d975462
- Fix missing PVs from pvs output if vgremove is run concurrently.
d975462
- Remove unwanted error message when running pvs/vgs/lvs and vgremove at once.
d975462
- Check newly created VG's metadata do not overlap in metadata ring buffer.
d975462
- Check metadata area size is at least the minimum size defined for the format.
d975462
- Thin pool targets uses low_water_mark from profile.
d975462
- Dropping 'yet' from error of unsupported thick snapshot of snapshots.
d975462
- Do not support unpartitioned DASD devices with CDL formatted with pvcreate.
d975462
- For thins use flush for suspend only when volume size is reduced.
d975462
- Enable code which detects the need of flush during suspend.
d975462
- Ensure --use-policy will resize volume to fit below threshold.
d975462
- Correct percentage evaluation when checking thin-pool over threshold.
d975462
- Fix lvmcache to move PV from VG to orphans if VG is removed and lvmetad used.
d975462
- Fix lvmcache to not cache even invalid info about PV which got removed.
d975462
- Support checking of memlock daemon counter.
d975462
- Allow all log levels to be used with the lvmetad -l option.
d975462
- Add optional shutdown when idle support for lvmetad.
d975462
- Fix missing in-sync progress info while lvconvert used with lvmpolld.
d975462
- Add report/compact_output_cols to lvm.conf to define report cols to compact.
d975462
- Do not change logging in lvm2 library when it's already set.
d975462
- Check for enough space in thin-pool in command before creating new thin.
d975462
- Make libblkid detect all copies of the same signature if use_blkid_wiping=1.
d975462
- Fix vgimportclone with -n to not add number unnecessarily to base VG name.
d975462
- Cleanup vgimportclone script and remove dependency on awk, grep, cut and tr.
d975462
- Add vg_missing_pv_count report field to report number of missing PVs in a VG.
d975462
- Properly identify internal LV holding sanlock locks within lv_role field.
d975462
- Add metadata_devices and seg_metadata_le_ranges report fields for raid vols.
d975462
- Fix lvm2-{activation,clvmd,cmirrord,monitor} service to exec before mounting.
d975462
- Disable thin monitoring plugin when it fails too often (>10 times).
d975462
- Fix/restore parsing of empty field '-' when processing dmeventd event.
d975462
- Enhance dm_tree_node_size_changed() to recognize size reduction.
d975462
- Support exit on idle for dmenventd (1 hour).
d975462
- Add support to allow unmonitor device from plugin itself.
d975462
- New design for thread co-operation in dmeventd.
d975462
- Dmeventd read device status with 'noflush'.
d975462
- Dmeventd closes control device when no device is monitored.
d975462
- Thin plugin for dmeventd improved percentage usage.
d975462
- Snapshot plugin for dmeventd improved percentage usage.
d975462
- Add dm_hold_control_dev to allow holding of control device open.
d975462
- Add dm_report_compact_given_fields to remove given empty fields from report.
d975462
- Use libdm status parsing and local mem raid dmeventd plugin.
d975462
- Use local mem pool and lock only lvm2 execution for mirror dmeventd plugin.
d975462
- Lock protect only lvm2 execution for snapshot and thin dmeventd plugin.
d975462
- Use local mempool for raid and mirror plugins.
d975462
- Reworked thread initialization for dmeventd plugins.
d975462
- Dmeventd handles snapshot overflow for now equally as invalid.
d975462
- Convert dmeventd to use common logging macro system from libdm.
d975462
- Return -ENOMEM when device registration fails instead of 0 (=success).
d975462
- Enforce writethrough mode for cleaner policy.
d975462
- Add support for recognition and deactivation of MD devices to blkdeactivate.
d975462
- Move target status functions out of libdm-deptree.
d975462
- Correct use of max_write_behind parameter when generating raid target line.
d975462
- Fix dm-event systemd service to make sure it is executed before mounting.
d975462
509b5da
* Mon Oct 26 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.132-2
509b5da
- Remove %%{epoch} from cmirror requires.
509b5da
34ebe8b
* Wed Sep 23 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.132-1
34ebe8b
- Fix lvmconf to set locking_type=2 if external locking library is requested.
34ebe8b
- Remove verbose message when rescanning an unchanged device. (2.02.119)
34ebe8b
- Add origin_uuid, mirror_log_uuid, move_pv_uuid, convert_lv_uuid report fields.
34ebe8b
- Add pool_lv_uuid, metadata_lv_uuid, data_lv_uuid reporting fields.
34ebe8b
- Fix PV label processing failure after pvcreate in lvm shell with lvmetad.
34ebe8b
- Update man pages for dmsetup and dmstats.
34ebe8b
- Improve help text for dmsetup.
34ebe8b
- Use --noflush and --nolockfs when removing device with --force.
34ebe8b
- Parse new Overflow status string for snapshot target.
34ebe8b
- Check dir path components are valid if using dm_create_dir, error out if not.
34ebe8b
- Fix /dev/mapper handling to remove dangling entries if symlinks are found.
34ebe8b
- Make it possible to use blank value as selection for string list report field.
34ebe8b
22e99ad
* Wed Sep 16 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.131-1
22e99ad
- Fix PV label processing failure after pvcreate in lvm shell with lvmetad.
22e99ad
- Rename 'make install_full_man' to install_all_man and add all_man target.
22e99ad
- Fix vgimportclone cache_dir path name (2.02.115).
22e99ad
- Swapping of LV identifiers handles more complex LVs.
22e99ad
- Use passed list of PVS when allocating space in lvconvert --thinpool.
22e99ad
- Disallow usage of --stripe and --stripesize when creating cache pool.
22e99ad
- Warn user when caching raid or thin pool data LV.
22e99ad
- When layering LV, move LV flags with segments.
22e99ad
- Ignore persistent cache if configuration changed. (2.02.127)
22e99ad
- Fix devices/filter to be applied before disk-accessing filters. (2.02.112)
22e99ad
- Make tags only when requested via 'make tags'.
22e99ad
- Configure supports --disable-dependency-tracking for one-time builds.
22e99ad
- Fix usage of configure.h when building in srcdir != builddir.
22e99ad
- Do not check for full thin pool when activating without messages (1.02.107).
22e99ad
e92381c
* Mon Sep 07 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.130-1
e92381c
- Fix use of uninitialized device status if reading outdated .cache record.
e92381c
- Restore support for --monitor option in lvcreate (2.02.112).
e92381c
- Read thin-pool data and metadata percent without flush.
e92381c
- Detect blocked thin-pool and avoid scanning their thin volumes.
e92381c
- Check if dm device is usable before checking its size (2.02.116).
e92381c
- Extend parsing of cache_check version in configure.
e92381c
- Make lvpoll error messages visible in lvmpolld's stderr and in syslog.
e92381c
- Add 'make install_full_man' to install all man pages regardless of config.
e92381c
- Parse thin-pool status with one single routine internally.
e92381c
- Add --histogram to select default histogram fields for list and report.
e92381c
- Add report fields for displaying latency histogram configuration and data.
e92381c
- Add dmstats --bounds to specify histogram boundaries for a new region.
e92381c
- Add dm_histogram_to_string() to format histogram data in string form.
e92381c
- Add public methods to libdm to access numerical histogram config and data.
e92381c
- Parse and store histogram data in dm_stats_list() and dm_stats_populate().
e92381c
- Add an argument to specify histogram bounds to dm_stats_create_region().
e92381c
- Add dm_histogram_bounds_from_{string,uint64_t}() to parse histogram bounds.
e92381c
- Add dm_histogram handle type to represent a latency histogram and its bounds.
e92381c
7041286
* Wed Sep 02 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.129-2
7041286
- Reinstate dm_task_get_info@Base to libdevmapper exports. (1.02.106)
7041286
2c84edf
* Thu Aug 27 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.129-1
2c84edf
- Drop error message when vgdisplay encounters an exported VG. (2.02.27)
2c84edf
- Fix shared library generation to stop exporting internal functions.(2.02.120)
2c84edf
- Accept --cachemode with lvconvert.
2c84edf
- Fix and improve reporting properties of cache-pool.
2c84edf
- Enable usage of --cachepolicy and --cachesetting with lvconvert.
2c84edf
- Don't allow to reduce size of thin-pool metadata.
2c84edf
- Fix debug buffer overflows in cmirrord logging.
2c84edf
- Add --foreground and --help to cmirrord.
2c84edf
- Add 'precise' column to statistics reports.
2c84edf
- Add --precise switch to 'dmstats create' to request nanosecond counters.
2c84edf
- Add precise argument to dm_stats_create_region().
2c84edf
- Add support to libdm-stats for precise_timestamps
2c84edf
- Fix devmapper.pc pkgconfig file to declare -lrt dependency properly.
2c84edf
1915cea
* Tue Aug 18 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.128-1
1915cea
- Allocation setting cache_pool_cachemode is replaced by cache_mode.
1915cea
- Don't attempt to close config file that couldn't be opened.
1915cea
- Check for valid cache mode in validation of cache segment.
1915cea
- Change internal interface handling cache mode and policy.
1915cea
- When no cache policy specified, prefer smq (if available) over mq.
1915cea
- Add demo cache-mq and cache-smq profiles.
1915cea
- Add cmd profilable allocation/cache_policy,cache_settings,cache_mode.
1915cea
- Require cache_check 0.5.4 for use of --clear-needs-check-flag.
1915cea
- Fix lvmetad udev rules to not override SYSTEMD_WANTS, add the service instead.
1915cea
- Fix 'dmstats list -o all' segfault.
1915cea
- Separate dmstats statistics fields from region information fields.
1915cea
- Add interval and interval_ns fields to dmstats reports.
1915cea
- Do not include internal glibc headers in libdm-timestamp.c (1.02.104)
1915cea
- Exit immediately if no device is supplied to dmsetup wipe_table.
1915cea
- Suppress dmsetup report headings when no data is output. (1.02.104)
1915cea
- Adjust dmsetup usage/help output selection to match command invoked.
1915cea
- Fix dmsetup -o all to select correct fields in splitname report.
1915cea
- Restructure internal dmsetup argument handling across all commands.
1915cea
- Add dm_report_is_empty() to indicate there is no data awaiting output.
1915cea
- Add more arg validation for dm_tree_node_add_cache_target().
1915cea
- Add --alldevices switch to replace use of --force for stats create / delete.
1915cea
0b40fcf
* Mon Aug 10 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.127-1
0b40fcf
- Do not init filters, locking, lvmetad, lvmpolld if command doesn't use it.
0b40fcf
- Order fields in struct cmd_context more logically.
0b40fcf
- Add lock_type to lvmcache VG summary and info structs.
0b40fcf
- Fix regression in cache causing some PVs to bypass filters (2.02.105).
0b40fcf
- Make configure --enable-realtime the default now. 
0b40fcf
- Add dmstats.8 man page
0b40fcf
- Add dmstats --segments switch to create one region per device segment.
0b40fcf
- Add dmstats --regionid, --allregions to specify a single / all stats regions.
0b40fcf
- Add dmstats --allprograms for stats commands that filter by program ID.
0b40fcf
- Add dmstats --auxdata and --programid args to specify aux data and program ID.
0b40fcf
- Add report stats sub-command to provide repeating stats reports.
0b40fcf
- Add clear, delete, list, and print stats sub-commands.
0b40fcf
- Add create stats sub-command and --start, --length, --areas and --areasize.
0b40fcf
- Recognize 'dmstats' as an alias for 'dmsetup stats' when run with this name.
0b40fcf
- Add a 'stats' command to dmsetup to configure, manage and report stats data.
0b40fcf
- Add statistics fields to dmsetup -o.
0b40fcf
- Add libdm-stats library to allow management of device-mapper statistics.
0b40fcf
- Add --nosuffix to suppress dmsetup unit suffixes in report output.
0b40fcf
- Add --units to control dmsetup report field output units.
0b40fcf
- Add support to redisplay column headings for repeating column reports.
0b40fcf
- Fix report header and row resource leaks.
0b40fcf
- Report timestamps of ioctls with dmsetup -vvv.
0b40fcf
- Recognize report field name variants without any underscores too.
0b40fcf
- Add dmsetup --interval and --count to repeat reports at specified intervals.
0b40fcf
- Add dm_timestamp functions to libdevmapper.
0b40fcf
- Recognise vg/lv name format in dmsetup.
0b40fcf
- Move size display code to libdevmapper as dm_size_to_string.
0b40fcf
0b40fcf
* Mon Jul 27 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.126-2
c09f8b7
- Fix long option hyphen removal. (2.02.122)