]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: reuse list of LVs
authorRishabh Dave <ridave@redhat.com>
Wed, 14 Aug 2019 15:57:38 +0000 (21:27 +0530)
committerJan Fajerski <jfajerski@suse.com>
Tue, 3 Sep 2019 08:59:34 +0000 (10:59 +0200)
commit75b3c035fca35cd7936384ca5d8a5080c1c452fc
tree98ae6ed3cfe6cf88721f6e120a2cde803c125aea
parente1f67109056f9a6137e018badb8c923833e8eeba
ceph-volume: reuse list of LVs

Avoid creating of list of LVs in different methods of the same module
and resue them.

Fixes: https://tracker.ceph.com/issues/37490
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit ab3a58e78124a984d162b2f63992d01c5e59e2a7)
src/ceph-volume/ceph_volume/api/lvm.py
src/ceph-volume/ceph_volume/devices/lvm/listing.py