diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-10-18 14:50:40 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-01-05 15:35:50 -0800 |
commit | b208862aec463e3d156a66d9a14b2f7ad0388ddd (patch) | |
tree | f70c9c8c277ad408e6f52372eb8ec571c3932c87 | |
parent | 6b0e607cf92c22660ee07c39590f76048911ed21 (diff) | |
download | xfs-documentation-b208862aec463e3d156a66d9a14b2f7ad0388ddd.tar.gz |
xfsdocs: fix some small discrepancies with libxfs
Fix some small discrepancies between the current libxfs code and this doc.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
4 files changed, 9 insertions, 4 deletions
diff --git a/design/XFS_Filesystem_Structure/btrees.asciidoc b/design/XFS_Filesystem_Structure/btrees.asciidoc index 91a53c4..19680d0 100644 --- a/design/XFS_Filesystem_Structure/btrees.asciidoc +++ b/design/XFS_Filesystem_Structure/btrees.asciidoc @@ -104,7 +104,7 @@ Specifies the magic number for the per-AG B+tree block. *bb_level*:: The level of the tree in which this block is found. If this value is 0, this is a leaf block and contains records; otherwise, it is a node block and -contains keys and pointers. +contains keys and pointers. Level values increase towards the root. *bb_numrecs*:: Number of records in this block. diff --git a/design/XFS_Filesystem_Structure/dabtrees.asciidoc b/design/XFS_Filesystem_Structure/dabtrees.asciidoc index 18247ca..29cfdab 100644 --- a/design/XFS_Filesystem_Structure/dabtrees.asciidoc +++ b/design/XFS_Filesystem_Structure/dabtrees.asciidoc @@ -170,7 +170,9 @@ Directory/attribute block info. The magic number is +XFS_DA_NODE_MAGIC+ Number of node entries in this block. *level*:: -The level of this block in the B+tree. +The level of this block in the B+tree. Levels start at 1 for blocks +that point to directory or attribute data blocks and increase towards +the root. *hashval*:: The hash value of a particular record. @@ -206,7 +208,9 @@ Directory/attribute block info. The magic number is +XFS_DA3_NODE_MAGIC+ Number of node entries in this block. *level*:: -The level of this block in the B+tree. +The level of this block in the B+tree. Levels start at 1 for blocks +that point to directory or attribute data blocks, and increase towards +the root. *pad32*:: Padding to maintain alignment. diff --git a/design/XFS_Filesystem_Structure/extended_attributes.asciidoc b/design/XFS_Filesystem_Structure/extended_attributes.asciidoc index bb773d5..7df2d3d 100644 --- a/design/XFS_Filesystem_Structure/extended_attributes.asciidoc +++ b/design/XFS_Filesystem_Structure/extended_attributes.asciidoc @@ -473,6 +473,7 @@ typedef struct xfs_attr3_leaf_hdr { __u8 holes; __u8 pad1; xfs_attr_leaf_map_t freemap[3]; + __be32 pad2; } xfs_attr3_leaf_hdr_t; diff --git a/design/XFS_Filesystem_Structure/internal_inodes.asciidoc b/design/XFS_Filesystem_Structure/internal_inodes.asciidoc index e6bf75f..f5c2654 100644 --- a/design/XFS_Filesystem_Structure/internal_inodes.asciidoc +++ b/design/XFS_Filesystem_Structure/internal_inodes.asciidoc @@ -59,7 +59,7 @@ struct xfs_disk_dquot { }; struct xfs_dqblk { struct xfs_disk_dquot dd_diskdq; - char dd_fill[32]; + char dd_fill[4]; /* version 5 filesystem fields begin here */ __be32 dd_crc; |