]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
OSD: use an OSDMapRef& and require the Session* in _share_map_incoming
authorGreg Farnum <greg@inktank.com>
Thu, 20 Mar 2014 22:50:35 +0000 (15:50 -0700)
committerGreg Farnum <greg@inktank.com>
Mon, 5 May 2014 22:29:18 +0000 (15:29 -0700)
commitb2187ac93592e2d280829f7b24fd07cdc92ff371
treecd763421beb87f38632f3ad15cc9acf879e56e32
parent9835866e8e4c85e565885af7b109a784eef81cbc
OSD: use an OSDMapRef& and require the Session* in _share_map_incoming

You can pass in a NULL Session*, but both callers do that; and using
an OSDMapRef& reduces shared_ptr copies.

Signed-off-by: Greg Farnum <greg@inktank.com>
src/osd/OSD.cc
src/osd/OSD.h