]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
OSD: pass param by ref to avoid copying overrhead
authorSomnath Roy <somnath.roy@sandisk.com>
Fri, 27 Jun 2014 17:48:28 +0000 (10:48 -0700)
committerSomnath Roy <somnath.roy@sandisk.com>
Fri, 27 Jun 2014 17:48:28 +0000 (10:48 -0700)
commit0debfe11860feadbd5b1bb1dd528ea7615a1f4d3
tree680ee4b20a9e0bd2514f66f8cd8efbe52d186554
parent21955d72a576c0ffd9b44d578281f4a13139aad1
OSD: pass param by ref to avoid copying overrhead

passing OpRequestRef, OSDMapRef by ref to avoid refcounting overhead
and in some cases passing structures by const ref.

Signed-off-by: Somnath Roy <somnath.roy@sandisk.com>
src/osd/OSD.cc
src/osd/OSD.h