The dentry cache is built using a hash table and is hashed by the name of the object.
使用散列表创建dentry缓存,并且根据对象名分配缓存。
Lookups are performed on the dentry cache, which result in an object in the inode cache.
查找是在dentry缓存中执行的,这将导致inode缓存中出现一个对象。
You can find the functions associated with the dentry cache in ./linux/fs/dcache.c (and ./linux/include/linux/dcache.h).
您可以在 ./linux/fs/dcache.c 和 ./linux/include/linux/dcache.h 中找到与 dentry 缓存相关的函数。
应用推荐