Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=26f94d91195531730c22e…
Commit: 26f94d91195531730c22eac26c741f1b4d2e0f1e
Parent: 9e45ad04b035468bc4ed7a68e654bfa5641f6b2c
Author: Marian Csontos <mcsontos(a)redhat.com>
AuthorDate: Wed Oct 23 09:32:36 2019 +0200
Committer: Marian Csontos <mcsontos(a)redhat.com>
CommitterDate: Wed Nov 20 15:30:34 2019 +0100
WHATS_NEW: update
---
WHATS_NEW | 2 ++
WHATS_NEW_DM | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/WHATS_NEW b/WHATS_NEW
index 49c31a4..50fd519 100644
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -3,6 +3,7 @@ Version 2.02.187 -
Fix resize of thin-pool with data and metadata of different segtype.
Fix splitting mirror leg in cluster.
Fix activation order when removing merged snapshot.
+ Add support for DM_DEVICE_GET_TARGET_VERSION into device_mapper.
Add lvextend-raid.sh to check on RaidLV extensions synchronization.
Fix lvmetad shutdown and avoid lenghty timeouts when rebooting system.
Prevent creating VGs with PVs with different logical block sizes.
@@ -10,6 +11,7 @@ Version 2.02.187 -
Activate thin-pool layered volume as 'read-only' device.
Ignore crypto devices with UUID signature CRYPT-SUBDEV.
Enhance validation for thin and cache pool conversion and swapping.
+ Fixed activation on boot - lvm2 no longer activates incomplete VGs.
Version 2.02.186 - 27th August 2019
===================================
diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM
index 576ad38..6a909c0 100644
--- a/WHATS_NEW_DM
+++ b/WHATS_NEW_DM
@@ -1,5 +1,6 @@
Version 1.02.166 -
===================================
+ Add support for DM_DEVICE_GET_TARGET_VERSION.
Version 1.02.164 - 27th August 2019
===================================
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=7474440d3b540d20eb4f9…
Commit: 7474440d3b540d20eb4f997efeb31b881cc6ac8e
Parent: f88f7c0fdcdfbefa37df6adb36a637526bd7e93b
Author: David Teigland <teigland(a)redhat.com>
AuthorDate: Tue Nov 19 10:27:02 2019 -0600
Committer: David Teigland <teigland(a)redhat.com>
CommitterDate: Tue Nov 19 10:56:12 2019 -0600
lvs: disable scanning optimization
The scanning optimization can produce warnings from
'lvs' when run concurrently with commands modifying LVs,
so disable the optimization until it can be improved.
Without the scanning optimization, lvs will always
read all PVs twice:
1. read metadata from all PVs, saving it in memory
2. for each VG
3. lock VG
4. reread metadata from all PVs in VG, replacing metadata
saved from step 1
5. run command on VG
6. unlock VG
The optimization would usually cause step 4 to be skipped,
and PVs would be read only once.
Running the command in step 5 using metadata that was not
read under the VG lock is usually fine, except for the
fact that lvs attempts to validate the metadata by comparing
it to current dm state. If other commands are modifying dm
state while lvs is running, lvs may see differences between
metadata from step 1 and dm state checked during step 5,
and print warnings.
(A better fix may be to detect the concurrent change and
fall back to rereading metadata in step 4 only when needed.)
---
tools/commands.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/commands.h b/tools/commands.h
index c1670ae..77cf1fa 100644
--- a/tools/commands.h
+++ b/tools/commands.h
@@ -99,7 +99,7 @@ xx(lvresize,
xx(lvs,
"Display information about logical volumes",
- PERMITTED_READ_ONLY | ALL_VGS_IS_DEFAULT | LOCKD_VG_SH | CAN_USE_ONE_SCAN | ALLOW_HINTS)
+ PERMITTED_READ_ONLY | ALL_VGS_IS_DEFAULT | LOCKD_VG_SH | ALLOW_HINTS)
xx(lvscan,
"List all logical volumes in all volume groups",
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=dccc50f6f60390b18e538…
Commit: dccc50f6f60390b18e5387cd38647209f36fa998
Parent: 7ea71a9eb94a703975d8f59f941d02039def3be4
Author: Zdenek Kabelac <zkabelac(a)redhat.com>
AuthorDate: Fri Nov 15 12:20:28 2019 +0100
Committer: Zdenek Kabelac <zkabelac(a)redhat.com>
CommitterDate: Fri Nov 15 12:37:41 2019 +0100
revert "dmeventd: vdo plugin link lvm library"
This reverts commit cbabdf2fca6131660cfb5525ed9edb3f7a41525a.
and add extra comment why this code may look unused, but
in runtime is necessary.
---
daemons/dmeventd/plugins/vdo/dmeventd_vdo.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/daemons/dmeventd/plugins/vdo/dmeventd_vdo.c b/daemons/dmeventd/plugins/vdo/dmeventd_vdo.c
index 7c4ec47..399b737 100644
--- a/daemons/dmeventd/plugins/vdo/dmeventd_vdo.c
+++ b/daemons/dmeventd/plugins/vdo/dmeventd_vdo.c
@@ -16,6 +16,14 @@
#include "daemons/dmeventd/plugins/lvm2/dmeventd_lvm.h"
#include "daemons/dmeventd/libdevmapper-event.h"
+/*
+ * Use parser from new device_mapper library.
+ * Although during compilation we can see dm_vdo_status_parse()
+ * in runtime we are linked agains systems libdm 'older' library
+ * which does not provide this symbol and plugin fails to load
+ */
+#include "device_mapper/vdo/status.c"
+
#include <sys/wait.h>
#include <stdarg.h>