]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: new num shards proportional to number of objects per shard
authorYehuda Sadeh <yehuda@redhat.com>
Thu, 1 Jun 2017 23:55:35 +0000 (16:55 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Mon, 5 Jun 2017 20:18:03 +0000 (13:18 -0700)
commitba1138d7a8556e11dc8c9c6f3e80f19a1c25ff3a
tree02edf31a18c8852e986e721b6f3c10c46bec51a7
parent3b7fd0ffd5c41862c9de8cd706bb15d14ac6cffa
rgw: new num shards proportional to number of objects per shard

and also limit number of shards to not exceed the max.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_quota.cc
src/rgw/rgw_quota.h
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h