]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: optimize bucket listing to skip past regions of namespaced entries
authorJ. Eric Ivancich <ivancich@redhat.com>
Fri, 22 Nov 2024 17:40:24 +0000 (12:40 -0500)
committerJ. Eric Ivancich <ivancich@redhat.com>
Tue, 11 Mar 2025 20:13:46 +0000 (16:13 -0400)
commita1d0058ea2097a93efde635964bf7e0df861a2aa
treea6f4d389022afb5922897a3d0d10f6a0b0eacad5
parent4c1966645f506825d73021b63f28b241fc9ab10e
rgw: optimize bucket listing to skip past regions of namespaced entries

When listing a bucket and the parameters are such that we're not
listing namespaced entries, this commit adds an optimization to
advance the marker such that we skip past a whole region of namespaced
entries rather than evaluating each entry one-by-one.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit 91488321277d15b877d8b5c5a5204e18d7ab7fad)
src/rgw/driver/rados/rgw_rados.cc