From: Yan Jun Date: Sat, 18 Jun 2016 07:39:41 +0000 (+0800) Subject: rgw: add comments for "is_truncated" X-Git-Tag: v11.0.0~6^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6d5a7a29b84f4c01e2870ccc4b487c48139dbf3a;p=ceph.git rgw: add comments for "is_truncated" Signed-off-by: Yan Jun --- diff --git a/src/rgw/rgw_rados.cc b/src/rgw/rgw_rados.cc index 5d46bf10cce4..44aa3afcb7ab 100644 --- a/src/rgw/rgw_rados.cc +++ b/src/rgw/rgw_rados.cc @@ -4772,8 +4772,9 @@ int rgw_policy_from_attrset(CephContext *cct, map& attrset, /** * get listing of the objects in a bucket. - * bucket: bucket to list contents of + * * max: maximum number of results to return + * bucket: bucket to list contents of * prefix: only return results that match this prefix * delim: do not include results that match this string. * Any skipped results will have the matching portion of their name @@ -4781,8 +4782,8 @@ int rgw_policy_from_attrset(CephContext *cct, map& attrset, * marker: if filled in, begin the listing with this object. * end_marker: if filled in, end the listing with this object. * result: the objects are put in here. - * common_prefixes: if delim is filled in, any matching prefixes are placed - * here. + * common_prefixes: if delim is filled in, any matching prefixes are placed here. + * is_truncated: if number of objects in the bucket is bigger than max, then truncated. */ int RGWRados::Bucket::List::list_objects(int max, vector *result, map *common_prefixes,