]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: Add default quota config 7188/head
authorDaniel Gryniewicz <dang@redhat.com>
Fri, 25 Sep 2015 15:02:20 +0000 (11:02 -0400)
committerLoic Dachary <ldachary@redhat.com>
Mon, 11 Jan 2016 11:14:00 +0000 (12:14 +0100)
commit5c92d1d2f11d59651eaa9c4ba6476b9f71990f1c
tree353c011128155e47248cac9983dc288a7ad7426e
parent9708e59a1fc2ae52cfae848ce585751bc9fbe572
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