]> sourceware.org Git - lvm2.git/commit
vdo: properly check percentage for resize
authorZdenek Kabelac <zkabelac@redhat.com>
Mon, 30 Sep 2019 11:25:42 +0000 (13:25 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 30 Sep 2019 11:34:34 +0000 (13:34 +0200)
commita98b77c16455ee97f5bd4b89536a3ae4efd8e009
treebb04f9e2fa7c4457ad46879564c335ba4c85a113
parentc813db8fc2ec15a8370bb291f662e15ba26682e8
vdo: properly check percentage for resize

Avoid checking 'lv_is_active()' since special LV types does this
validation anyway what calling  _percent() function  and call it
ONLY when none of special types is queried.

This restores support for VDO resize (as with support for
separate VDO pool activation, plain query for lv_is_active()
is not working in this case).
lib/metadata/lv_manip.c
This page took 0.090384 seconds and 5 git commands to generate.