summaryrefslogtreecommitdiffstats
path: root/src/cls/user (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rgw: add support for "end_marker" on listing Swift account.Radoslaw Zarzynski2015-12-084-8/+30
| | | | | Fixes: #10682 Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
* rgw: rectify support for GET on Swift's account with limit == 0.Radoslaw Zarzynski2015-04-201-1/+1
| | | | | | Fixes: #10683 Backport: hammer Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
* rgw: add data_extra pool to bucketYehuda Sadeh2014-03-242-2/+8
| | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* rgw: don't overwrite bucket entry data when syncing user statsYehuda Sadeh2014-03-121-7/+17
| | | | | | | | | Fixes: #7687 When syncing user bucket stats we overwritten the entire entry with the passed in entry. We should only look at the stats portion, and not overwrite the rest (which contains bucket creation time). Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* cls_user: init cls_user_list_buckets_op fieldsSage Weil2014-01-291-1/+2
| | | | Signed-off-by: Sage Weil <sage@inktank.com>
* cls_user: init cls_user_stats fields in ctorSage Weil2014-01-291-0/+5
| | | | Signed-off-by: Sage Weil <sage@inktank.com>
* cls_user: add generate_test_instances() implementationYehuda Sadeh2014-01-254-0/+234
| | | | | | to all the encoded/decoded stuff Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* rgw, cls_user: handle error cases related to response decodingYehuda Sadeh2014-01-252-12/+21
| | | | | | | Certain operations weren't handling errors in decode, add some missing logic. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* rgw, cls_user: fix bucket creationYehuda Sadeh2014-01-244-4/+12
| | | | | | | | There's a single op to create and update the user bucket info, however, the cases differ a bit, as we only need to guard against ENOENT if we're updating the info. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* cls_user: op to keep track of sync completion timeYehuda Sadeh2014-01-244-0/+65
| | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* cls_user: keep time info about stats updateYehuda Sadeh2014-01-245-0/+15
| | | | Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* cls_user: header cleanupYehuda Sadeh2014-01-243-17/+40
| | | | | | put stats under a new struct Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* rgw: extend infrastructure to handle user stats readYehuda Sadeh2014-01-242-3/+36
| | | | | | | Some helper functions that return data in required format for quota, add async functions. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* cls/user: some fixes + handle old buckets caseYehuda Sadeh2014-01-242-6/+25
| | | | | | | If a bucket was created prior to the new accounting, we can't substract the old values, as the header stats didn't account for them. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* rgw, radosgw-admin, cls/user: retrieve user statsYehuda Sadeh2014-01-243-0/+17
| | | | | | | add a new op to retrieve user header, new radosgw-admin command to stat user. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* cls/user: a new op to retrieve user headerYehuda Sadeh2014-01-243-0/+89
| | | | | | user header holds user total stats Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* cls/user: accounting functionalityYehuda Sadeh2014-01-242-3/+105
| | | | | | Keep user total accounting in omap header, handle add/dec functionality. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* rgw: new user objclassYehuda Sadeh2014-01-245-0/+513
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>