Inode is auth pinned and can't be purged while storing backtrace,
so we should try purging stray inode after storing backtrace.
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
{
dout(10) << "_stored_backtrace" << dendl;
+ auth_unpin(this);
if (v == inode.backtrace_version)
clear_dirty_parent();
- auth_unpin(this);
if (fin)
fin->complete(0);
+ mdcache->maybe_eval_stray(this);
}
void CInode::_mark_dirty_parent(LogSegment *ls, bool dirty_pool)