]> sourceware.org Git - lvm2.git/commitdiff
lvresize: vdo support
authorZdenek Kabelac <zkabelac@redhat.com>
Mon, 2 Jul 2018 08:54:56 +0000 (10:54 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 9 Jul 2018 13:28:35 +0000 (15:28 +0200)
Unsupported ATM.

Wait till VDO kernel target starts to use updated resize sequence,
LOAD, SUSPEND, RESUME.

lib/metadata/lv_manip.c

index d3c4e76962d17f1617a2c17c4e5eec8db8c68a03..43e09a4479b9a27529e968c0c42e12e7af8739c6 100644 (file)
@@ -4893,6 +4893,12 @@ static int _lvresize_check(struct logical_volume *lv,
                return 0;
        }
 
+       if (lv_is_vdo_type(lv)) {
+               log_error("Resize of VDO type volume %s is not yet supported.",
+                         display_lvname(lv));
+               return 0;
+       }
+
        if (lv_is_raid(lv) &&
            lp->resize == LV_REDUCE) {
                unsigned attrs;
This page took 0.043916 seconds and 5 git commands to generate.