]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: accept unit with subvolume resize
authorDhairya Parmar <dparmar@redhat.com>
Mon, 17 Mar 2025 14:53:22 +0000 (20:23 +0530)
committerDhairya Parmar <dparmar@redhat.com>
Thu, 19 Feb 2026 04:46:02 +0000 (10:16 +0530)
commitefe11565b8596ecaaca82201b5e240e97b680e51
treea28ed20a061231a918f0fb030e5969ddf093b143
parent75a23253a2705c713e8d5c510f1c0f8125dc683f
mgr/volumes: accept unit with subvolume resize

Specifying the quota or resize for a subvolume requires the value in bytes.
This value can now be accepted as <num><unit>. Also allows floating point numbers.

Fixes: https://tracker.ceph.com/issues/62673
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
src/pybind/mgr/volumes/fs/operations/versions/subvolume_base.py