]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: lvm.Lvm.setup_metadata_devices refactor 65851/head
authorGuillaume Abrioux <gabrioux@ibm.com>
Thu, 9 Oct 2025 07:31:58 +0000 (09:31 +0200)
committerGuillaume Abrioux <gabrioux@ibm.com>
Thu, 9 Oct 2025 07:31:58 +0000 (09:31 +0200)
commitf6d2b20dbb7ba18dcd137990dd1637794a8f0d70
tree44bf52d72e8c02b67d3d8650f0d090306f95459e
parent01510d1960d2131673c5595c1188c445b77715b8
ceph-volume: lvm.Lvm.setup_metadata_devices refactor

This commit refactors setup_metadata_devices into smaller helper methods.
It keeps the distinction between existing logical volumes and raw devices
explicit, centralizes tag handling and path assignment to make the
control flow obvious and separates responsibilities for checking, creating,
and tagging devices.

Fixes: https://tracker.ceph.com/issues/73445
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
src/ceph-volume/ceph_volume/objectstore/lvm.py