[PATCH 1/4] mgr/volumes: Fix subvolume discover during upgrade
authorKotresh HR <khiremat@redhat.com>
Fri, 22 Jul 2022 07:53:39 +0000 (13:23 +0530)
committerChris Lamb <lamby@debian.org>
Fri, 6 Feb 2026 19:24:31 +0000 (11:24 -0800)
commit82782416e17015664935c58288bf8a1654052c3c
tree1d34e0f064042605fe460a9adb4626c068f0c191
parentede5eb4a8adfa9a54341277cca64cedfbb99c418
[PATCH 1/4] mgr/volumes: Fix subvolume discover during upgrade

Fixes the subvolume discover to use the correct
metadata file after an upgrade from legacy subvolume
to v1. The fix makes sure, it doesn't use the
handcrafted metadata file placed in the subvolume
root of legacy subvolume.

Co-authored-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
Co-authored-by: Dan van der Ster <daniel.vanderster@cern.ch>
Co-authored-by: Ramana Raja <rraja@redhat.com>
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Gbp-Pq: Name CVE-2022-0670.patch
qa/tasks/cephfs/test_volumes.py
src/pybind/mgr/volumes/fs/operations/versions/metadata_manager.py
src/pybind/mgr/volumes/fs/operations/versions/subvolume_base.py
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py