ext4使用区段取代ext3的机制,从而改善了空间的分配,并且支持更加高效的存储结构。
Ext4 replaces ext3's mechanism with extents to improve allocation and support a more efficient storage structure.
清单6包含的代码示例展示了如何声明一个状态信息结构,然后根据该结构的大小向stateinfo指针分配存储空间。
Listing 6 contains a code example of declaring a state information structure and then allocating storage for the stateInfo pointer based on the size of the structure.
同步块是为存储同步信息分配的基于对象的数据结构。
Synchronization blocks are per-object data structures allocated for storing synchronization information.
应用推荐