diff options
author | Greg Farnum <gfarnum@redhat.com> | 2014-11-06 20:10:29 +0100 |
---|---|---|
committer | Greg Farnum <gfarnum@redhat.com> | 2014-11-07 21:53:03 +0100 |
commit | 15d487f73da436b2e9da98e0aed9c0cbff33e845 (patch) | |
tree | dfa743f916b3bf2163fc4e34954b126a199f5e4e /src/mds/MDSContext.h | |
parent | MDS: CInode: break out of validation early on symlinks (diff) | |
download | ceph-15d487f73da436b2e9da98e0aed9c0cbff33e845.tar.xz ceph-15d487f73da436b2e9da98e0aed9c0cbff33e845.zip |
MDS: clean up internal MDRequests the standard way
All cleanup is now routed through respond_to_request(),
which invokes the internal_op_finish Context*, then does
mdcache->request_finish(). This is easier to reason about,
and indeed fixes a bug (I was not cleaning up locks
following flush). Use the MDSContinuation to facilitate
this in scrub's case.
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Diffstat (limited to 'src/mds/MDSContext.h')
-rw-r--r-- | src/mds/MDSContext.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mds/MDSContext.h b/src/mds/MDSContext.h index 34633093675..a5e8458e9eb 100644 --- a/src/mds/MDSContext.h +++ b/src/mds/MDSContext.h @@ -162,6 +162,4 @@ protected: typedef C_GatherBuilderBase<MDSInternalContextBase, MDSGather> MDSGatherBuilder; - #endif // MDS_CONTEXT_H - |