]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cls_rgw: fix rgw_cls_usage_log_trim_op encode/decode
authorYehuda Sadeh <yehuda@inktank.com>
Wed, 8 Aug 2012 22:21:53 +0000 (15:21 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Fri, 10 Aug 2012 17:39:51 +0000 (10:39 -0700)
commit515952d07107d442889754ec3bd6a344fad25d58
tree0aaa4c3acb786f101c29ee89454b2c520ebfb6b4
parent2e77130d5c80220be1612b5499d422de620d2d0b
cls_rgw: fix rgw_cls_usage_log_trim_op encode/decode

It was not encoding user, adding that and reset version
compatibility.
This changes affects command interface, makes use of
radosgw-admin usage trim incompatible. Use of old
radosgw-admin usage trim should be avoided, as it may
remove more data than requested. In any case, upgraded
server code will not handle old client's trim requests.

backport: argonaut
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/rgw/rgw_cls_api.h