]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/quota: generalize quota to rgw_owners
authorCasey Bodley <cbodley@redhat.com>
Sun, 26 Nov 2023 19:47:50 +0000 (14:47 -0500)
committerCasey Bodley <cbodley@redhat.com>
Fri, 12 Apr 2024 19:34:26 +0000 (15:34 -0400)
commit327dc3f7b3100a353348915762bf1ce91f03acea
tree0467b2677f3baedc9cb1f97a6b1dc933ebc71113
parentd0b86de1288df090d94838c690c5e427df5e7f71
rgw/quota: generalize quota to rgw_owners

use rgw_owner instead of rgw_user as a key in the quota cache stats.
only fetch_stats_from_storage() and init_refresh() need to differentiate
between user and account ids

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit f1835cd78770ccd0d4ff84f68ecf2a9750182a65)
src/rgw/rgw_quota.cc
src/rgw/rgw_quota.h