]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: add wait on auth change machinery
authorSage Weil <sage@newdream.net>
Thu, 19 Aug 2010 22:19:33 +0000 (15:19 -0700)
committerSage Weil <sage@newdream.net>
Tue, 24 Aug 2010 03:23:14 +0000 (20:23 -0700)
commitaa226df5cae22c03f7015e26aa775f075be3ea6f
treef7b5255d19d26d219c643a33ec798dfcd608484b
parent3b5a53f01bcabbfb6161768d16b3e7d29ad804ba
mds: add wait on auth change machinery

Special wait mask is passed through lock wait mask to parent object.
Caller adds item to a list on the subtree root.
Removal of wait item automatically removes from said list.
Subtree topology changes adjust authchange wait lists.
Migrator auth change update waits waiters.  Import/export should be
protected by freeze/thaw or the blanket wakeups.
src/mds/CDentry.cc
src/mds/CDentry.h
src/mds/CDir.cc
src/mds/CDir.h
src/mds/CInode.cc
src/mds/CInode.h
src/mds/Locker.cc
src/mds/MDCache.cc
src/mds/Migrator.cc
src/mds/SimpleLock.h
src/mds/mdstypes.h