]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: CephFS statfs REST API 52218/head
authoryite.gu <yitegu0@gmail.com>
Wed, 28 Jun 2023 00:16:51 +0000 (08:16 +0800)
committeryite.gu <yitegu0@gmail.com>
Fri, 14 Jul 2023 08:58:44 +0000 (16:58 +0800)
commitbcbf91d4d21bd421993dc7d851f9a374bccca807
tree3a01e69ab850ce01a12417539f437415e9207310
parent72bd1c3802187740618289bcecbed150b890a968
mgr/dashboard: CephFS statfs REST API

Introduce statfs for the CephFS REST API controller, we
can easily get statfs of the specified path by it, it returns
the used bytes, used files and used subdirs.

Fixes: https://tracker.ceph.com/issues/61883
Signed-off-by: Yite Gu <yitegu0@gmail.com>
qa/tasks/mgr/dashboard/test_cephfs.py
src/pybind/mgr/dashboard/controllers/cephfs.py
src/pybind/mgr/dashboard/openapi.yaml
src/pybind/mgr/dashboard/services/cephfs.py