summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_account.h
diff options
context:
space:
mode:
authorCasey Bodley <cbodley@redhat.com>2024-04-18 18:14:14 +0200
committerCasey Bodley <cbodley@redhat.com>2024-04-18 21:22:13 +0200
commitb9677714b2a57e4f97ff87c9d654f4dddae3c2b2 (patch)
treec651aee06720daaa28c3972595e9cebdfaa2ae05 /src/rgw/rgw_account.h
parentMerge pull request #56962 from cbodley/wip-doc-rgw-reshard-config (diff)
downloadceph-b9677714b2a57e4f97ff87c9d654f4dddae3c2b2.tar.xz
ceph-b9677714b2a57e4f97ff87c9d654f4dddae3c2b2.zip
rgw/account: add bucket_quota to RGWAccountInfo
support bucket quotas per account the same way as for user Fixes: https://tracker.ceph.com/issues/65551 Signed-off-by: Casey Bodley <cbodley@redhat.com>
Diffstat (limited to 'src/rgw/rgw_account.h')
-rw-r--r--src/rgw/rgw_account.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rgw/rgw_account.h b/src/rgw/rgw_account.h
index f942d674b0e..2a6f3e23797 100644
--- a/src/rgw/rgw_account.h
+++ b/src/rgw/rgw_account.h
@@ -49,6 +49,7 @@ struct AdminOpState {
std::optional<int32_t> max_groups;
std::optional<int32_t> max_access_keys;
std::optional<int32_t> max_buckets;
+ std::string quota_scope;
std::optional<int64_t> quota_max_size;
std::optional<int64_t> quota_max_objects;
std::optional<bool> quota_enabled;