else
lru.lru_midtouch(dn);
}
+public:
void touch_dentry_bottom(CDentry *dn) {
lru.lru_bottouch(dn);
}
+protected:
void inode_remove_replica(CInode *in, int rep);
void dentry_remove_replica(CDentry *dn, int rep);
straydnl->get_inode()->snaprealm->add_past_parent(oldparent);
if (isnew)
mdcache->do_realm_invalidate_and_update_notify(straydnl->get_inode(), CEPH_SNAP_OP_SPLIT);
+
+ mdcache->touch_dentry_bottom(straydn);
}
dn->mark_dirty(dnpv, mdr->ls);
mdcache->do_realm_invalidate_and_update_notify(straydnl->get_inode(), CEPH_SNAP_OP_SPLIT);
}
+ mdcache->touch_dentry_bottom(straydn); // drop dn as quickly as possible.
+
} else {
destdn->get_dir()->unlink_inode(destdn);
}