]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: convert IO contexts
authorJohn Spray <john.spray@redhat.com>
Thu, 7 Aug 2014 14:56:40 +0000 (15:56 +0100)
committerJohn Spray <john.spray@redhat.com>
Mon, 25 Aug 2014 00:34:18 +0000 (01:34 +0100)
commitc2728559cb4ccb6e313ece56c91fceee38ac6251
tree648b981640bcf15eec1ed42696cebbf4a2f9af28
parente1e28667d437b6b213f9a72cd4cd3ce0bea2622a
mds: convert IO contexts

As of this change, the only thing in the MDS inheriting
directly from Context is MDSContext.

The only files touching mds_lock explicitly are MDS, MDLog and
MDSContext -- everyone else should be getting their locking behaviour
via the contexts.  (one minor exception made for an assertion in
Locker).

Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/CDir.cc
src/mds/CInode.cc
src/mds/Locker.cc
src/mds/MDLog.cc
src/mds/MDSContext.h
src/mds/MDSTable.cc
src/mds/Server.cc
src/mds/SessionMap.cc