master - cachevol: improve manipulation with dm tree
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=2825ad9dd20a4f34693666d1efaa4ceb1c8e2b8f Commit: 2825ad9dd20a4f34693666d1efaa4ceb1c8e2b8f Parent: a454a1b4ea478ce117808c8b2dd480ff4d5eb2d4 Author: Zdenek Kabelac <[email protected]> AuthorDate: Mon Oct 14 10:31:38 2019 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Mon Oct 14 15:17:50 2019 +0200
cachevol: improve manipulation with dm tree
Enhance activation of cached devices using cachevol. Correctly instatiace cachevol -cdata & -cmeta devices with '-' in name (as they are only layered devices). Code is also a bit more compacted (although still not ideal, as the usage of extra UUIDs stored in metadata is troublesome and will be repaired later).
NOTE: this patch my brink potentially minor incompatiblity for 'runtime' upgrade
--- WHATS_NEW | 1 + lib/activate/dev_manager.c | 158 ++++++++++++++++++++++++------------------- 2 files changed, 89 insertions(+), 70 deletions(-)
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.03.06 - ================================ + Enhance activation of cache devices with cachevols. Add _cvol in list of protected suffixes and start use it with DM UUID. Rename LV converted to cachevol to use _cvol suffix. Use normal LVs for wiping of cachevols.
lib/activate/dev_manager.c +88 -70
199 lines not on this page · raw message