]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw:Use count fn in RGWUserBuckets for quota check 8294/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Thu, 24 Mar 2016 11:01:51 +0000 (12:01 +0100)
committerAbhishek Lekshmanan <abhishek@suse.com>
Thu, 24 Mar 2016 11:01:51 +0000 (12:01 +0100)
commitccdb0d1b506bf985d0c4c0c511eed57e3d696c97
tree70bf168ea5e5ecf0aa6d04f46f815ad03f0cedb9
parent6e7417018963fc4041f350234f738020af845bd8
rgw:Use count fn in RGWUserBuckets for quota check

We already have a count function from RGWUserBuckets class which gives
the total size of the map, use that instead of getting the map and doing
a count.

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
src/rgw/rgw_op.cc