]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr / volumes: carve out subvolume operations as a separate class
authorVenky Shankar <vshankar@redhat.com>
Fri, 17 May 2019 05:40:37 +0000 (01:40 -0400)
committerRamana Raja <rraja@redhat.com>
Mon, 17 Jun 2019 12:20:31 +0000 (17:50 +0530)
commit3a73a64fb96a8b24925c7decb71c8c3a2a67e3bc
tree5749e0912e63a787af0ed54248917bb20facb17f
parentbcfe1d9966ec9b35ebf259b5b1a8e9808eb4029a
mgr / volumes: carve out subvolume operations as a separate class

Move (and refactor) subvolume specific operations from main module
source to SubVolume class in a new subvolume source. Also, provide
hooks in VolumeClient to forward subvolume specific opertaions to
this class.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 8d29816f0f3db6c7d287bbb7469db77c9de701d1)
src/pybind/mgr/volumes/fs/subvolume.py
src/pybind/mgr/volumes/fs/volume.py
src/pybind/mgr/volumes/module.py