A simplified view of the dentry object is shown in Figure 5.
图5展示了dentry对象的简化图示。
The file object refers to a dentry object, which refers to an inode.
file对象引用dentry对象,后者引用inode。
Both the inode and dentry objects refer to the underlying super_block object.
inode和dentry对象都引用底层的super_block对象。
Note also in Figure 7 that a dentry object refers to another dentry object.
注意,在图7中一个dentry对象还引用另一个dentry对象。
When a dentry object exists, an inode object will also exist in the inode cache.
如果存在一个dentry对象,那么inode缓存中也将存在一个inode对象。
The hierarchical nature of a file system is managed by another object in VFS called a dentry object.
文件系统的层次结构由VFS中的另一个称为dentry的对象管理。
Lookups are performed on the dentry cache, which result in an object in the inode cache.
查找是在dentry缓存中执行的,这将导致inode缓存中出现一个对象。
This section explores the superblock, the index node (or inode), the directory entry (or dentry), and finally, the file object.
这个小节探索了超块(superblock)、索引节点(或inode)、目录条目(或dentry)和文件对象。
The root directory entry (dentry) object is cached here also, as is the block device on which this file system resides.
根目录条目(dentry)对象也缓存在这里,因为它是文件系统所在的块设备。
The name of the object is then defined, which is kept here in the dentry instead of the inode itself.
接着定义对象的名称,在这里名称保存在dentry中而不是inode中。
The dentry cache is built using a hash table and is hashed by the name of the object.
使用散列表创建dentry缓存,并且根据对象名分配缓存。
The dentry refers to the super_block, which defines the particular file system instance in which this object is contained.
dentry引用super_block, super_block定义包含该对象的特定文件系统实例。
The dentry refers to the super_block, which defines the particular file system instance in which this object is contained.
dentry引用super_block, super_block定义包含该对象的特定文件系统实例。
应用推荐