summaryrefslogtreecommitdiff
path: root/WHATS_NEW_DM
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2021-09-22 21:22:59 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2021-09-23 16:49:14 +0200
commit566c2f1828d371d602eca0353905128d069a159b (patch)
tree1c41a2ef2d020c716df71430b4cbb1b7177beb7c /WHATS_NEW_DM
parentee15065a0f77bf01d1f4184462844f690cde64a8 (diff)
downloadlvm2-566c2f1828d371d602eca0353905128d069a159b.tar.gz
libdm: support DM_NAME_LIST_FLAG
Kernel patch 8b638081bd4520f63db1defc660666ec5f65bc15 introduced support to return UUID in DM_LIST_DEVICES_CMD. Useful when asking for UUID of each device where the list could be now returned directly with NAME && UUID for each device. Returning UUID is done in backward-compatible way. There's one unused 32-bit word value after the event number. This patch sets the bit DM_NAME_LIST_FLAG_HAS_UUID if UUID is present and DM_NAME_LIST_FLAG_DOESNT_HAVE_UUID if it isn't (if none of these bits is set, then we have an old kernel that doesn't support returning UUIDs). The UUID is stored after this word. The 'next' value is updated to point after the UUID, so that old version of libdevmapper will skip the UUID without attempting to interpret it.
Diffstat (limited to 'WHATS_NEW_DM')
-rw-r--r--WHATS_NEW_DM1
1 files changed, 1 insertions, 0 deletions
diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM
index c4a22441c..94d782c56 100644
--- a/WHATS_NEW_DM
+++ b/WHATS_NEW_DM
@@ -1,5 +1,6 @@
Version 1.02.181 -
===================================
+ Add defines DM_NAME_LIST_FLAG_HAS_UUID, DM_NAME_LIST_FLAG_DOESNT_HAVE_UUID.
Enhance tracking of activated devices when preloading dm tree.
Fix bug in construction of cache table line (regression from 1.02.159).