]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: add dentries in dirfrag to LRU in reverse order
authorYan, Zheng <zheng.z.yan@intel.com>
Tue, 1 Apr 2014 13:08:02 +0000 (21:08 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Wed, 2 Apr 2014 04:19:26 +0000 (12:19 +0800)
commit16af25fba303a541bff83b18851f17dda9d51b99
treeef558d2f8327e9773c60cc310776641906b85be8
parentf0978a823d17a4b356b0a6c035b6b6382fab2d61
mds: add dentries in dirfrag to LRU in reverse order

Files in a dirfrag are usually processed in the order of readdir
results. Files at the beginning of are more likely to be used in
the future than files at the last.

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