]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: single lvs call to speed up exclude_lvm_osd_devices 67240/head
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 13:44:17 +0000 (14:44 +0100)
commit56b2250a28438def7c6c4b829fa4162fb6a8d9c2
tree1d63fe25fe348c055a59337a3b032369bba8801d
parent6be06a8c1be5ed2a6f65188a979dd9b594c28074
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
src/ceph-volume/ceph_volume/tests/devices/lvm/test_zap.py