]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: touch dentry bottom recursively
authorYan, Zheng <zheng.z.yan@intel.com>
Wed, 4 Sep 2013 02:05:10 +0000 (10:05 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Thu, 19 Sep 2013 06:01:02 +0000 (14:01 +0800)
commit298c39f2f596bf94e0b287b543e3aa6286ae453f
tree0d205230f8ea92c055bbb5798537bd58d3e9e598
parente303b964f7c0129c2b0b83e2e719613271e822d8
mds: touch dentry bottom recursively

Deleted directory inode's dirfrags may contain some null dentries.
When touch_dentry_bottom() is called, also move these null dentries
to the tail of LRU.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
src/mds/CDir.cc
src/mds/CDir.h
src/mds/MDCache.cc
src/mds/MDCache.h