]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
LVM: Make sparse_copy_volume private, use for capabilities
authorEric Harney <eharney@redhat.com>
Wed, 23 Sep 2015 20:26:20 +0000 (16:26 -0400)
committerEric Harney <eharney@redhat.com>
Wed, 30 Sep 2015 19:58:42 +0000 (15:58 -0400)
commit7ce3c7130a4b10d4ca56bec3df665a8271da4a39
treee1e0c4669912ca122db419b421984c17ac5e1cae
parentc9eef31820dc385a2c9f4ba24dd1d194f9e7d088
LVM: Make sparse_copy_volume private, use for capabilities

This should be a private variable after the refactoring
done for
0982ad1 Efficient volume copy for generic volume migration

Additionally, just use the variable determined by the
config at init time when reporting capabilities rather
than having a separate calculation there.

Change-Id: I433e22f71b24afd10a879447d79ce1fda0a7bfa6
cinder/tests/unit/test_volume.py
cinder/volume/drivers/lvm.py