]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Add several types to ceph-dencoder.
authorMarcus Watts <mwatts@redhat.com>
Fri, 3 Aug 2018 03:49:30 +0000 (23:49 -0400)
committerShilpa Jagannath <smanjara@redhat.com>
Tue, 30 Jul 2019 08:30:45 +0000 (14:00 +0530)
commitf7236ba1f7923eb643bbeb8bf861fc80dc915d6a
tree0b14546c57e000fc2ee50d035365db08c20f4100
parent3ba7be8d1ac7ee43e69eebb58263cd080cca1d38
Add several types to ceph-dencoder.

Add types: RGWBucketEntryPoint obj_version rgw_user
These are structures that are visible as data at rest
inside of rados when a bucket is made via radosgw.

RGWBucketEntryPoint is the contents of a rados
object with names that may be either "<bucket-name>"
or "<tenant>/<bucket-name>"

rgw_user is a structure contained inside of RGWBucketEntryPoint
and other structures.

obj_version is visible as the xattr "ceph.objclass.version"
on rados objects in ".rgw.meta" that contain ".bucket.meta."

Fixes: http://tracker.ceph.com/issues/35885
Signed-off-by: Marcus Watts <mwatts@redhat.com>
src/cls/version/cls_version_types.h
src/rgw/rgw_basic_types.h
src/rgw/rgw_common.h
src/rgw/rgw_dencoder.cc
src/rgw/rgw_json_enc.cc