]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: provide subvolume create/remove/open APIs
authorVenky Shankar <vshankar@redhat.com>
Wed, 20 Nov 2019 14:02:53 +0000 (09:02 -0500)
committerRamana Raja <rraja@redhat.com>
Wed, 12 Feb 2020 10:11:59 +0000 (05:11 -0500)
commitca4cc7166ebc38fd923669174ce7c9b074d6975a
treee93a923d462def5a147e8ef702dd9d3fa66a94b2
parent4aefbb3e2939bc97a5a2485d6afb10544a0a4b4d
mgr/volumes: provide subvolume create/remove/open APIs

create_subvolume() creates a subvolume with the max version known
to the plugin. open_subvolume() performs version discovery by
using loader stub and returns a subvoule object.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 8a649148025620991a67ed761153f18594f5268c)
src/pybind/mgr/volumes/fs/operations/subvolume.py [new file with mode: 0644]