]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: don't journal opened non-auth inode
authorYan, Zheng <zheng.z.yan@intel.com>
Mon, 21 Jan 2013 02:04:03 +0000 (10:04 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Tue, 29 Jan 2013 02:17:36 +0000 (10:17 +0800)
commit9a0cfcc56d24b91cf22f04d91b756261c1b4e410
treed53f86bed633b0b8d1dedb192e51ae6e82fa51ca
parent0cf5e4e55ddf32d5087b39ab06961b22db5d6b5a
mds: don't journal opened non-auth inode

If we journal opened non-auth inode, during journal replay, the corresponding
entry will add non-auth objects to the cache. But the MDS does not journal all
subsequent modifications (rmdir,rename) to these non-auth objects, so the code
that manages cache and subtree may get confused. Besides non-auth objects will
be trimmed at the resolve stage.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
src/mds/Locker.cc
src/mds/Migrator.cc
src/mds/Server.cc
src/mds/journal.cc