Skip to contentSkip to conversation

master - lvchange: vdo support compression deduplication change

PATCH Zdenek Kabelac 1 participant 1 message Jul 9, 2018

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=6206bd0e790b92c8ec53c340902f74932675836f
Commit:        6206bd0e790b92c8ec53c340902f74932675836f
Parent:        c58733ca1538d04a298c4c857492ca544a820064
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Mon Jul 2 10:51:45 2018 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Mon Jul 9 15:29:15 2018 +0200

lvchange: vdo support compression deduplication change

Add basic support for changing compression and deduplication state of a VDO pool volume.

Allowing to access it also via top-level VDO volume.

---
 tools/command-lines.in |    3 +-
 tools/lvchange.c       |   71 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 73 insertions(+), 1 deletions(-)
tools/command-lines.in +2 -1
index de5c88b..4db1a0a 100644
@@ -221,6 +221,7 @@ OO_LVCHANGE: --autobackup Bool, --force, --ignoremonitoring,
 
 OO_LVCHANGE_META: --addtag Tag, --deltag Tag,
 --alloc Alloc, --contiguous Bool,
+--compression Bool, --deduplication Bool,
 --detachprofile, --metadataprofile String, --profile String,
 --permission Permission, --readahead Readahead, --setactivationskip Bool,
 --errorwhenfull Bool, --discards Discards, --zero Bool,
@@ -308,7 +309,7 @@ OO: --major Number, --activate Active, --poll Bool, --monitor Bool, OO_LVCHANGE
 IO: --ignoreskippedcluster
 ID: lvchange_persistent
 DESC: Make the minor device number persistent for an LV.
-RULE: all not LV_thinpool LV_cachepool
+RULE: all not LV_thinpool LV_cachepool LV_vdopool
 
 ---
 
tools/lvchange.c +71 -0

95 lines not on this page · raw message