Skip to contentSkip to conversation

main - device_mapper: reactivate siblings for snapshot

PATCH Zdenek Kabelac 1 participant 1 message Feb 1, 2023

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=c8a5948a71b041ae2cce03e1b3a9843f0fab023f
Commit:        c8a5948a71b041ae2cce03e1b3a9843f0fab023f
Parent:        85aa236946d3c290c7fab2c6229684ed268b1670
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Mon Jan 30 14:32:44 2023 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Wed Feb 1 11:47:47 2023 +0100

device_mapper: reactivate siblings for snapshot

When activating origin and its thick snapshots, ensure the origin's LV udev processing is finished first and after this reactivate its snapshot so the udev can scan them afterwards.

This should fix the problems for users using UUID of such device in their fstab and occasionaly mounted snapshot instead of origin LV.

---
 WHATS_NEW                     |  1 +
 device_mapper/libdm-deptree.c | 89 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 90 insertions(+)
WHATS_NEW +1 -0
index 191338868..7dbb669a1 100644
@@ -1,5 +1,6 @@
 version 2.03.19 - 
 ====================================
+  Ensure udev is processing origin LV before its thick snapshots LVs.
   Fix and improve runtime memory size detection for VDO volumes.
 
 version 2.03.18 - 22nd december 2022
device_mapper/libdm-deptree.c +89 -0

119 lines not on this page · raw message