]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: add 'omit_usage' query param to dashboard api 'get rbd' endpoint 54192/head
authorCory Snyder <csnyder@1111systems.com>
Sun, 30 Apr 2023 10:45:41 +0000 (10:45 +0000)
committerCory Snyder <csnyder@1111systems.com>
Wed, 25 Oct 2023 14:00:27 +0000 (10:00 -0400)
commita12130488d8429c830d830b43b1481d6ba6df9be
treef6cc15555740c24530c298a393edc93a8ec2d675
parent24209a7ccf53c21175bd2f5518a5d7ece069fac9
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>
(cherry picked from commit ead0d0e41d798fe07b6864b1f5d73307e40102f6)
src/pybind/mgr/dashboard/controllers/rbd.py
src/pybind/mgr/dashboard/openapi.yaml
src/pybind/mgr/dashboard/services/rbd.py