]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: Introduce v2 subvolumes
authorShyamsundar Ranganathan <srangana@redhat.com>
Sun, 5 Jul 2020 23:17:02 +0000 (19:17 -0400)
committerShyamsundar Ranganathan <srangana@redhat.com>
Mon, 10 Aug 2020 18:14:40 +0000 (14:14 -0400)
commit59ee59325cf68af233c208840e8e78d61dff5b8a
tree660673d98dc2e60c36f4d1945a2a354320b4225a
parent062184a39b8b198e55989073a9efaf3c687226a7
mgr/volumes: Introduce v2 subvolumes

Implements subvolume v2 version.

Following support is added,
- Ability to retain snapshots on subvolume deletion
- Modify directory where snapshot is created to the subvolume
- "features" supported to subvolume info output, specifically ability
for a subvolume to retain snashots
- Current state of subvolume in info output
- Auto upgrade to v2 from eligible v1 subvolumes
- Adjust other functions as needed to support the changes

Signed-off-by: Shyamsundar Ranganathan <srangana@redhat.com>
Conflicts:
src/pybind/mgr/volumes/fs/volume.py
CephfsClient implementation is not backported, required resolution
Correct single instance of deprecated log.warn invocation
src/pybind/mgr/volumes/fs/async_cloner.py
src/pybind/mgr/volumes/fs/operations/group.py
src/pybind/mgr/volumes/fs/operations/op_sm.py
src/pybind/mgr/volumes/fs/operations/subvolume.py
src/pybind/mgr/volumes/fs/operations/versions/__init__.py
src/pybind/mgr/volumes/fs/operations/versions/subvolume_base.py
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v2.py [new file with mode: 0644]
src/pybind/mgr/volumes/fs/volume.py
src/pybind/mgr/volumes/module.py