]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: set dir_auth between EImport{Start,Finish}
authorSage Weil <sage@newdream.net>
Fri, 18 Mar 2011 21:39:04 +0000 (14:39 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Fri, 1 Apr 2011 21:34:32 +0000 (14:34 -0700)
commita01fba175b646f67446b8cac4a20c3fbb306043b
treec4ef2ad856cefbc1628c7f299fb5a891b864015b
parenta47c2250629e2a3deb8bc026535c1cc53ed9908e
mds: set dir_auth between EImport{Start,Finish}

This ensures that try_trim_non_auth_subtree() doesn't throw out a subtree
we're in the midst of importing (during journal replay).

Signed-off-by: Sage Weil <sage@newdream.net>
src/mds/MDCache.cc
src/mds/MDCache.h
src/mds/journal.cc