]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-volume: single lvs call to speed up exclude_lvm_osd_devices
authorGuillaume Abrioux <gabrioux@ibm.com>
Thu, 5 Feb 2026 23:06:19 +0000 (00:06 +0100)
committerGuillaume Abrioux <gabrioux@ibm.com>
Fri, 6 Feb 2026 09:49:26 +0000 (10:49 +0100)
commitb09abde4909d3b531bc149fd9d7d13346ddb2175
treea451513498604d3c9afc53c7892d26f6961b9803
parentdfa42f16005f96c47ba21da048edf9c5294b3871
ceph-volume: single lvs call to speed up exclude_lvm_osd_devices

Cache all LVs from one global `lvs` call and use it in
`filter_lvm_osd_devices` to avoid repeated subprocesses and speed up
`ceph-volume generic activate` significantly.

Fixes: https://tracker.ceph.com/issues/74804
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
src/ceph-volume/ceph_volume/devices/raw/list.py