]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: add MDSContext subclasses
authorJohn Spray <john.spray@redhat.com>
Wed, 6 Aug 2014 13:35:57 +0000 (14:35 +0100)
committerJohn Spray <john.spray@redhat.com>
Mon, 25 Aug 2014 00:34:17 +0000 (01:34 +0100)
commit0860f1a646d0b143d9efaa269a121efb7139da7c
tree23b1c7b1a1a6ea64d02d8fc8dfbc92801dde7f62
parentdcdcfd306504643f73b90467775b372dcaa98d83
mds: add MDSContext subclasses

These allow contexts within the MDS to identify themselves
as either 'internal' contexts (expecting to be called within
the big MDS lock) or 'IO' contexts (which should take the big
mds lock themselves when called back).

Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/MDSContext.cc [new file with mode: 0644]
src/mds/MDSContext.h [new file with mode: 0644]
src/mds/Makefile.am