]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: Add human-readable flag to volume info command
authorNeeraj Pratap Singh <neesingh@redhat.com>
Wed, 21 Sep 2022 06:28:29 +0000 (11:58 +0530)
committerNeeraj Pratap Singh <neesingh@redhat.com>
Wed, 28 Sep 2022 10:39:35 +0000 (16:09 +0530)
commit535b86ac94ae84cf651d5710ba3150ed9b30dbd4
treeab2df2007d8a31f660b47e6e6b00a24d0e262a38
parent73ce96de86bd59e2d926ac238126d74d06364f14
mgr/volumes: Add human-readable flag to volume info command

This PR intends to add a human-readable flag
to the volume info command so that the used
and avail size can be shown with units according
to the size.

Fixes: https://tracker.ceph.com/issues/57620
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
src/pybind/mgr/volumes/fs/volume.py
src/pybind/mgr/volumes/module.py