]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cls/rgw: adjust types and ops
authorYehuda Sadeh <yehuda@redhat.com>
Thu, 4 May 2017 22:11:09 +0000 (15:11 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Mon, 5 Jun 2017 20:17:41 +0000 (13:17 -0700)
commita07e8eb6af2dcd670f3175cf7e32befec3783924
treec7818a9afb4c1064232732c2fb9c03121dbe3725
parent04cf0ca074008f9d36f10f91ec5f559040c17e11
cls/rgw: adjust types and ops

 - don't keep data bufferlist in struct cls_rgw_bucket_instance_entry
 - remove rgw_get_bucket_instance

We need to keep the reshard info as part of the bucket index header (for
each source bucket shard), and not in a separate object. Otherwise it'll
be impossible to have the resharding check atomic as part of the regular
bucket index updates.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/cls/rgw/cls_rgw.cc
src/cls/rgw/cls_rgw_client.cc
src/cls/rgw/cls_rgw_client.h
src/cls/rgw/cls_rgw_ops.cc
src/cls/rgw/cls_rgw_ops.h
src/cls/rgw/cls_rgw_types.cc
src/cls/rgw/cls_rgw_types.h