]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: clear ent_list for each loop of bucket list 34099/head
authorYao Zongyou <yaozongyou@vip.qq.com>
Tue, 3 Mar 2020 15:34:26 +0000 (15:34 +0000)
committerShyukri Shyukriev <shshyukriev@suse.com>
Fri, 20 Mar 2020 21:14:51 +0000 (23:14 +0200)
commit1d1a471de4b6ffe4eec289d0b39438cf6c15051e
tree9d688ddbea51455e778510ec4aace8194e7cfe14
parent860b1289354997618980be07d0fa7ada575a1f90
rgw: clear ent_list for each loop of bucket list

if ent_list is not cleared, the old element will be checked repeatedly
and will occupy more memory.
Fixes: http://tracker.ceph.com/issues/44394
Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
(cherry picked from commit f63bf47aa464c345c907c748dfdbbc5a239d8488)
src/rgw/rgw_rados.cc