FhgfsOps_createIntent
=>FhgfsInode_entryInfoReadLock
=>FhgfsInode_initIsizeHints
=>FhgfsOpsRemoting_lookupIntent
==>LookupIntentMsg_initFromEntryInfo
===>LookupIntentMsg_init # NETMSGTYPE_LookupIntent
==>LookupIntentInfoOut_initFromRespMsg
=>FhgfsInode_entryInfoReadUnlock
#处理消息: NETMSGTYPE_LookupIntent
LookupIntentMsgEx::executeLocally
=>LookupIntentMsgEx::create
==>MsgHelperMkFile::mkFile
===>DirInode::createFileStripePattern
====>DirInode::createFileStripePatternUnlocked
=====>NodeCapacityPools::chooseStorageTargets
#Pool[CapacityPool_NORMAL]
#Pool[CapacityPool_LOW]
#Pool[CapacityPool_EMERGENCY]
==>MetaStore::mkNewMetaFile
本文详细描述了FhgfsOps创建意图的过程,从本地inode读取信息、初始化IsizeHints,通过Remoting进行远程lookup,再到最终创建文件,涉及节点容量池选择和元数据存储。重点在于LookupIntentMsg的执行和文件存储策略的选择。
6万+

被折叠的 条评论
为什么被折叠?



