]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: don't iterate through all objects when in namespace
authorYehuda Sadeh <yehuda@inktank.com>
Thu, 7 Mar 2013 03:32:21 +0000 (19:32 -0800)
committerYehuda Sadeh <yehuda@inktank.com>
Fri, 8 Mar 2013 15:09:42 +0000 (07:09 -0800)
commita460fa145158666864ea073c97abff937304b39d
treee0fe1ecdac9a3094596eccffdf13479dcd9ce006
parent50b4f72eb74c4ae8238731ac3ceb40b5a21b79b6
rgw: don't iterate through all objects when in namespace

Fixes: #4363
Backport: argonaut, bobtail
When listing objects in namespace don't iterate through all the
objects, only go though the ones that starts with the namespace
prefix

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
(cherry picked from commit 6669e73fa50e3908ec825ee030c31a6dbede6ac0)
src/rgw/rgw_rados.cc