]> 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 09:35:50 +0000 (11:35 +0200)
commit9861515baeb41b2dda2023c2a496820ae05ddebb
tree973630ec731d2443cb8e6e2d98d22501d57577a5
parentc029d412bfa18fc31b6dbd000424400e757fc6bf
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