]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: avoid fetching backtrace when purging stray
authorYan, Zheng <zheng.z.yan@intel.com>
Wed, 4 Sep 2013 06:41:00 +0000 (14:41 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Sun, 22 Sep 2013 06:14:20 +0000 (14:14 +0800)
commit7be9b92d2ed40311fa3b3e1eb0fb2147315ab4c7
treecbd0b5da7d7153c4d38f06e3f14ae09a32c44c67
parent67386e4524e1c6e1abcada637fc24c4729939c92
mds: avoid fetching backtrace when purging stray

we save old data pools in both inode_backtrace_t::old_pools and
inode_t::old_pools. We have the inode in the cache when purging
stray, so no need to fetch backtrace to find old data pools.

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