]> 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, 12 Oct 2022 18:40:46 +0000 (00:10 +0530)
commit59d87f49588b95465403bfa4c4a66fa4483e6d7d
tree4abe54bf5cd3f8a3ec388e750f91b408191ddef6
parent6594a2e9ab5f3eb720f548760b0d778972521db0
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>
(cherry picked from commit 535b86ac94ae84cf651d5710ba3150ed9b30dbd4)
src/pybind/mgr/volumes/fs/volume.py
src/pybind/mgr/volumes/module.py