]> git-server-git.apps.pok.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 14:55:03 +0000 (06:55 -0800)
commit6669e73fa50e3908ec825ee030c31a6dbede6ac0
tree93f0216171f5ec0469f5aa14f56afee0afde1a46
parent1e2864a0209ad5daa4a7cd58b6e7cbc9f46d3e94
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>
src/rgw/rgw_rados.cc