In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces what is the use of find ino in MDCache. It is very detailed and has a certain reference value. Interested friends must finish reading it!
The find_ino_peers () function in MDCache is responsible for finding the file path corresponding to the specified inodeno_t in other MDS processes. This function creates a MMDSFindIno class message, then writes the inodeno_t to the MMDSFindIno class message, and sends the class message to the specified MDS process.
The handle_find_ino () function in MDCache is responsible for processing MMDSFindIno class messages. First, the CInode class object corresponding to the local inodeno_t is found by calling the get_inode () function, then the file path information corresponding to the CInode is written to the MMDSFindInoReply class message by calling the in- > make_path () function, and finally the MMDSFindInoReply class message is sent back to the sender.
The handle_find_ino_reply () function in MDCache is responsible for processing MMDSFindInoReply class messages. First, get the request item corresponding to the Reply class message in the find_ino_peers array. The get_inode () function is then called to find out whether the CInode already exists, and exit directly if it already exists. Otherwise, get the path information from the MMDSFindInoReply class message, then call the path_traverse () function to deploy the path in MDCache, and exit directly if the deployment is successful, otherwise call the find_ino_peers () function to resend the MMDSFindIno class message.
The above is all the content of this article "what is the use of find ino in MDCache?" Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.