Actions
Feature #59588
openAdd omit_usage query param to dashboard API endpoint for getting RBD info
% Done:
0%
Source:
Tags:
backport_processed
Backport:
pacific quincy reef
Description
The endpoint that gets information about an RBD also returns usage information when an RBD has the 'fast-diff' feature enabled. We've found that gathering usage information via the diff call can be problematic on some very large / old RBDs - it can take many minutes to return. Our use case for calling this API doesn't require the usage information, so we'd like to add a query parameter to indicate that usage information should not be gathered. That is, we'd like to add a "omit_usage" query parameter to the endpoint for getting RBD info [1] such that the default behavior remains unchanged.
[1] https://docs.ceph.com/en/latest/mgr/ceph_api/index.html#get--api-block-image
Actions