]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/rgw_bucket: update is_truncated option in rgw_read_user_buckets function
authorliuchang0812 <liuchang0812@gmail.com>
Wed, 5 Apr 2017 11:44:47 +0000 (19:44 +0800)
committerliuchang0812 <liuchang0812@gmail.com>
Wed, 5 Apr 2017 11:44:47 +0000 (19:44 +0800)
commit00cdfce27cff72257f61062a42f50daf8cd41a26
tree1b9f63f4be776fee69f34900db2a819d3ddfba38
parent24e69d79e7d740523f77115be5725e55f83a1604
rgw/rgw_bucket: update is_truncated option in rgw_read_user_buckets function

The function called `rgw_read_user_buckets` has one option `bool *is_truncated`
which should be updated, and we could use `is_truncated` to avoid unnessesary
iteration.

Fixes: http://tracker.ceph.com/issues/19365
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
src/rgw/rgw_bucket.cc