summaryrefslogtreecommitdiff
path: root/WHATS_NEW_DM
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2022-11-25 15:45:47 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2022-11-25 16:41:53 +0100
commita5042375de3fd7146906614bffbcc960349c2b20 (patch)
treeeafb34b07d5ebcd658c540c5a1a76c16b5466f6a /WHATS_NEW_DM
parentae916f77c92c1765c76fbb849a2eaeb5e0724768 (diff)
downloadlvm2-a5042375de3fd7146906614bffbcc960349c2b20.tar.gz
dmsetup: fix udev event handling for create
With newer kernels (>5.13) DM_CREATE no longer generates uevent for DM devices without table. There are even no sysfs block device entries in such case, although device has asigned major:minor and it is being listed by 'dmsetup info'. So this patch calculates amount of 'table' lines and in case no table line comes from cmdline or stdin - waiting on cookie is avoided generically instead of disabling just case with option --notable - which then also skipped handling of an option --addnodeoncreate (which is however historical and should be avoided) As a result there should be no leaking udev cookies and endlessly waiting commands like this: dmsetup create mytestdev </dev/null
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 1067312d3..71eee439f 100644
--- a/WHATS_NEW_DM
+++ b/WHATS_NEW_DM
@@ -1,5 +1,6 @@
Version 1.02.189 -
=====================================
+ Improve 'dmsetup create' without given table line with new kernels.
Version 1.02.187 - 10th November 2022
=====================================