]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr / volumes: introduce subvolume specification class
authorVenky Shankar <vshankar@redhat.com>
Thu, 16 May 2019 05:54:12 +0000 (01:54 -0400)
committerRamana Raja <rraja@redhat.com>
Mon, 17 Jun 2019 12:20:13 +0000 (17:50 +0530)
commitbcfe1d9966ec9b35ebf259b5b1a8e9808eb4029a
treedbee530ebfc30d8c4f86f834247a3e85e4e6a75a
parente945c4e34979ec20980988ab0617f06594f4c698
mgr / volumes: introduce subvolume specification class

Specifications class that represents a unique subvolume
identified by (subvolume-id, group-id) tuple. Provide
heleper functions for fetching  various subvolume specific
attributes such as subvolume path, group path etc.

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