]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: Add default quota config 6636/head
authorDaniel Gryniewicz <dang@redhat.com>
Fri, 25 Sep 2015 15:02:20 +0000 (11:02 -0400)
committerAbhishek Varshney <abhishek.varshney@flipkart.com>
Wed, 18 Nov 2015 08:24:24 +0000 (13:54 +0530)
commit8e6130d0eabd9b9842e28e090518aca2d4013469
treee78d9ac27adec01d7bb36e8e0c0746c61f43cf39
parentbb2ecea240f3a1d525bcb35670cb07bd1f0ca299
rgw: Add default quota config

Add a default quota config that is applied when no specific quota is
enabled.  There are both per-bucket and per-user defaults.  Defaults are
enabled if either max count or max size is enabled.

This fixes issues 12912 and 12997.

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
(cherry picked from commit 3047b5690eebb7fcd2d7a26acd20105e016a44c4)
src/common/config_opts.h
src/rgw/rgw_quota.cc