]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: add 'omit_usage' query param to dashboard api 'get rbd' endpoint 51294/head
authorCory Snyder <csnyder@1111systems.com>
Sun, 30 Apr 2023 10:45:41 +0000 (10:45 +0000)
committerCory Snyder <csnyder@1111systems.com>
Tue, 30 May 2023 15:08:29 +0000 (11:08 -0400)
commitead0d0e41d798fe07b6864b1f5d73307e40102f6
tree8e127e1b6b3afa9addb8c30065b4cd84c354703f
parent11b3cc2e025b36904a3f36622356db375105c2bf
mgr/dashboard: add 'omit_usage' query param to dashboard api 'get rbd' endpoint

Allows RBD info to be retrieved without getting associated usage info. This
can be useful for large RBDs where the process of gathering such usage info
is sometimes very slow.

Fixes: https://tracker.ceph.com/issues/59588
Signed-off-by: Cory Snyder <csnyder@1111systems.com>
src/pybind/mgr/dashboard/controllers/rbd.py
src/pybind/mgr/dashboard/openapi.yaml
src/pybind/mgr/dashboard/services/rbd.py