]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: move some bucket index delimiter filtering logic to cls
authorJ. Eric Ivancich <ivancich@redhat.com>
Tue, 6 Aug 2019 21:44:29 +0000 (17:44 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Fri, 24 Jan 2020 19:32:39 +0000 (14:32 -0500)
commitce1768202b64dd73f549a3660968f10ebe184a7b
tree49dfdbfd0588ef8ed426a7114a0b49a3555000a0
parentff09bb5a57c146a17165f8df7ac20ef9ac7e8c31
rgw: move some bucket index delimiter filtering logic to cls

Currently the cls code that returns bucket index entries does no
filtering when a delimiter is specified. This means that the cls code
will return many entries that the rgw code does not need. This means
unnecessary bucket index entries will be encoded, decoded, and consume
network bandwidth.

A change is made to send a delimiter, if it's specified, to the cls
code, so the filtering can be done there.

Signed-off-by: J. Eric Ivancich <ivancich@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.h
src/cls/rgw/cls_rgw_types.h
src/rgw/rgw_admin.cc
src/rgw/rgw_bucket.cc
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h
src/test/cls_rgw/test_cls_rgw.cc