EResetJournal類分析

EResetJournal類說明:
class EResetJournal: public LogEvent {session

};對象

EResetJournal類方法:
EResetJournal::replay(mds)
|__執行sessionmap的wipe操做,即:mds->sessionmap.wipe()
|__復位inotable,即:mds->inotable->replay_reset()
|__若mds節點位於mdsmap的root節點
  |__從MDCache中獲得root CDir對象,即:mds->mdcache->get_root()->get_or_open_dirfrag()
  |__調整root CDir的subtree auth,即:mds->mdcache->adjust_subtree_auth()
|__從MDCache中獲得當前所在目錄的CDir對象,即:mds->mdcache->get_myin()->get_or_open_dirfrag()
|__調整當前所在目錄的CDir的subtree auth,即:mds->mdcache->adjust_subtree_auth()
|__從新計算auth bits,即:mds->mdcache->recalc_auth_bits()
 ip

相關文章
相關標籤/搜索