]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds/Mutation: make Mutation a TrackedOp
authorSage Weil <sage@redhat.com>
Thu, 15 Dec 2016 04:06:36 +0000 (23:06 -0500)
committerSage Weil <sage@redhat.com>
Fri, 27 Jan 2017 15:30:43 +0000 (10:30 -0500)
commit888f4b3343ef5a5c31e6cebc12fcd5f8f96a9ea7
treee53db4d98ad6579562fcba14eda9c1c1d8575ae9
parent842a336969825fc4c4faa8cd4aa69b0061692bde
mds/Mutation: make Mutation a TrackedOp

This seems silly now, but is needed in order to switch from shared_ptr to
intrusive_ptr.  The TrackOp is the refcounted thing, and we want to be
able to cast beween MutationRefs and MDRequestRefs, so... we need to make
sure the refcounting is done via a common parent, TrackedOp.

Signed-off-by: Sage Weil <sage@redhat.com>
src/mds/CInode.cc
src/mds/Locker.cc
src/mds/MDCache.cc
src/mds/Migrator.cc
src/mds/Mutation.cc
src/mds/Mutation.h
src/mds/Server.cc