]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: remove stray dentry from delayed eval list after calling eval_stray() 7798/head
authorYan, Zheng <zyan@redhat.com>
Fri, 26 Feb 2016 12:32:49 +0000 (20:32 +0800)
committerYan, Zheng <zyan@redhat.com>
Fri, 26 Feb 2016 12:56:34 +0000 (20:56 +0800)
commit0cee333e5670f357dd8f2a1fc51855eadba3cb01
treebc1aed617f7cdadaf95b7790c4c59e1e2587b1a3
parenta7f3a65825047310a098870404b693d183274336
mds: remove stray dentry from delayed eval list after calling eval_stray()

MDCache::trim_inode() calls StrayManager.eval_stray() when trimming a
a stray dentry. After calling StrayManager.eval_stray(), the dentry can
still be in the delayed eval list, which triggers assertion in CDentry's
destructor()

Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/mds/StrayManager.cc