]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Locker: use raw MutationImpl* instead of MutationRef in several places
authorGreg Farnum <greg@inktank.com>
Wed, 12 Mar 2014 20:03:26 +0000 (13:03 -0700)
committerGreg Farnum <greg@inktank.com>
Tue, 8 Apr 2014 00:00:19 +0000 (17:00 -0700)
commit6c3fc3eeea4f9cbae6411957f27fcda36ac00696
treefb58954ec09725b1d7ed5c2994d3fe8f31867a2b
parent920fd6cac15676b20eeedfe45bcb2d2f1cc8226d
Locker: use raw MutationImpl* instead of MutationRef in several places

Sadly, you can't implicitly convert non-const references to shared pointers, so avoid the atomic ops necessary when copying a shared_ptr.

Signed-off-by: Greg Farnum <greg@inktank.com>
src/mds/Locker.cc
src/mds/Locker.h
src/mds/MDCache.cc
src/mds/Migrator.cc
src/mds/Server.cc