]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: fix infinite loop of MDCache::populate_mydir(). 702/head
authorYan, Zheng <zheng.z.yan@intel.com>
Thu, 10 Oct 2013 02:35:48 +0000 (10:35 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Thu, 10 Oct 2013 02:53:24 +0000 (10:53 +0800)
commit007f06ec174d4ee5cfb578c8b3f1c96b2bb0c238
treea2bb01e6611f28553ca53ee532fdc3d33c611808
parent8e493ef23b1a70e19aaee63f656706d2aa004068
mds: fix infinite loop of MDCache::populate_mydir().

make MDCache::populate_mydir() only fetch bare-bone stray dirs.
After all stray dirs are populated, call MDCache::scan_stray_dir(),
it fetches incomplete stray dirs.

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