]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: reduce calls to rgw_obj.set_obj() 1863/head
authorYehuda Sadeh <yehuda@inktank.com>
Tue, 25 Mar 2014 21:08:01 +0000 (14:08 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Fri, 6 Jun 2014 01:53:14 +0000 (18:53 -0700)
commit524a155ee019370cdb058a42c24483d74f85f944
tree958c20739d54dc79e953aa102b652ecf0f2fa370
parent0b35e61bb1207c4f09f18ae8a7765804ee4fcaaa
rgw: reduce calls to rgw_obj.set_obj()

default manifest iterator construction did unneeded init of rgw_obj.
Also add a smarter copy constructor to RGWObjState that does not copy
manifest if not needed.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/rgw/rgw_common.h
src/rgw/rgw_rados.h