下面我们来看看这种新语法的工作原理,以我编写的一个用于跟踪文件系统变化的工具为例。
Let's take a look at how this new syntax works for a tool that I wrote to keep track of filesystem changes.
它由许多元素组成,这些元素在文件系统和物理数据中跟踪条目之间的关系(比如文件名)。
It consists of a number of elements that track the relationship of the entry to other entries in the file system as well as physical data (such as the file name).
ext3 文件系统驱动程序也使用这种方法,存储内存中被修改的块(大小为 1K、2K 或 4K)的完整副本,以跟踪暂挂的 IO 操作。
The ext3 filesystem driver also uses this approach and stores complete replicas of the modified blocks (either 1K, 2K, or 4K) in memory to track pending IO operations.
应用推荐