summaryrefslogtreecommitdiff
path: root/Documentation/filesystems/ext4/blocks.rst
diff options
context:
space:
mode:
authorAyush Ranjan <ayushr2@illinois.edu>2019-08-23 06:18:33 +0300
committerTheodore Ts'o <tytso@mit.edu>2019-08-23 06:18:33 +0300
commit219db95bbe796277c739cca17fe134f6c2ce6676 (patch)
treeac53215637ce5b611c1f5233558c382f05fded13 /Documentation/filesystems/ext4/blocks.rst
parent7963e5ac901251c7a3b36fe7c987623a3f309393 (diff)
downloadlinux-219db95bbe796277c739cca17fe134f6c2ce6676.tar.xz
ext4: documentation fixes
This commit aims to fix the following issues in ext4 documentation: - Flexible block group docs said that the aim was to group block metadata together instead of block group metadata. - The documentation consistly uses "location" instead of "block number". It is easy to confuse location to be an absolute offset on disk. Added a line to clarify all location values are in terms of block numbers. - Dirent2 docs said that the rec_len field is shortened instead of the name_len field. - Typo in bg_checksum description. - Inode size is 160 bytes now, and hence i_extra_isize is now 32. - Cluster size formula was incorrect, it did not include the +10 to s_log_cluster_size value. - Typo: there were two s_wtime_hi in the superblock struct. - Superblock struct was outdated, added the new fields which were part of s_reserved earlier. - Multiple mount protection seems to be implemented in fs/ext4/mmp.c. Signed-off-by: Ayush Ranjan <ayushr2@illinois.edu> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Andreas Dilger <adilger@dilger.ca>
Diffstat (limited to 'Documentation/filesystems/ext4/blocks.rst')
-rw-r--r--Documentation/filesystems/ext4/blocks.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/filesystems/ext4/blocks.rst b/Documentation/filesystems/ext4/blocks.rst
index 73d4dc0f7bda..bd722ecd92d6 100644
--- a/Documentation/filesystems/ext4/blocks.rst
+++ b/Documentation/filesystems/ext4/blocks.rst
@@ -10,7 +10,9 @@ block groups. Block size is specified at mkfs time and typically is
4KiB. You may experience mounting problems if block size is greater than
page size (i.e. 64KiB blocks on a i386 which only has 4KiB memory
pages). By default a filesystem can contain 2^32 blocks; if the '64bit'
-feature is enabled, then a filesystem can have 2^64 blocks.
+feature is enabled, then a filesystem can have 2^64 blocks. The location
+of structures is stored in terms of the block number the structure lives
+in and not the absolute offset on disk.
For 32-bit filesystems, limits are as follows: