]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/volumes: fix subvolume creation with quota
authorRamana Raja <rraja@redhat.com>
Mon, 3 Jun 2019 09:46:18 +0000 (15:16 +0530)
committerRamana Raja <rraja@redhat.com>
Tue, 4 Jun 2019 17:04:35 +0000 (22:34 +0530)
commit695c9e4dc83e77d13e9fad057d77994594fdd226
treeea888ab36e33cb78130ad63edd5fdf559b9f38f1
parented2ce0efad31b2b953c49be957fd2f46199e84b1
mgr/volumes: fix subvolume creation with quota

A quota is set on a subvolume by setting a quota virtual
xattr on a fs subdirectory. The value of the quota xattr
should be a bytes object. The quota value wasn't correctly
converted to a bytes object. Fix this.

Fixes: http://tracker.ceph.com/issues/40152
Signed-off-by: Ramana Raja <rraja@redhat.com>
src/pybind/mgr/volumes/fs/subvolume.py