]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/volumes: Persist auth and subvolume metadata
authorKotresh HR <khiremat@redhat.com>
Wed, 18 Nov 2020 10:13:25 +0000 (15:43 +0530)
committerKotresh HR <khiremat@redhat.com>
Wed, 13 Jan 2021 12:57:55 +0000 (18:27 +0530)
commit04d876ced756ca86580bdff4ac116333dbb102e5
tree0f7e934027714b35084d69793989fb1a6c81b72c
parent51f86c9d13404531e2986e7b6402c23b159d9dcf
mgr/volumes: Persist auth and subvolume metadata

1. Subvolume create and delete operations create and delete subvolume
   metadata file respectively.
2. Subvolume authorize creates the auth meta file and persists the
   required metadata on subvolume metadata file and auth metdata file
   on disk. Subvolume deauthorize clears the required metadata on
   both metadata files.

Fixes: https://tracker.ceph.com/issues/44931
Signed-off-by: Kotresh HR <khiremat@redhat.com>
src/pybind/mgr/volumes/fs/operations/versions/auth_metadata.py [new file with mode: 0644]
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