Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

docs: ext4: modify the group desc size to 64

Since the default ext4 group desc size is 64 now (assuming that the
64-bit feature is enbled). And the size mentioned in this doc is 64 too.
Change it to 64.

Signed-off-by: Wu Bo <bo.wu@vivo.com>
Acked-by: Darrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/r/20230222013525.14748-1-bo.wu@vivo.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>

authored by

Wu Bo and committed by
Theodore Ts'o
b7eef407 c993799b

+3 -3
+3 -3
Documentation/filesystems/ext4/blockgroup.rst
··· 105 105 block is placed at the beginning of the first, second, and last block 106 106 groups in a meta-block group. A meta-block group is a collection of 107 107 block groups which can be described by a single block group descriptor 108 - block. Since the size of the block group descriptor structure is 32 109 - bytes, a meta-block group contains 32 block groups for filesystems with 110 - a 1KB block size, and 128 block groups for filesystems with a 4KB 108 + block. Since the size of the block group descriptor structure is 64 109 + bytes, a meta-block group contains 16 block groups for filesystems with 110 + a 1KB block size, and 64 block groups for filesystems with a 4KB 111 111 blocksize. Filesystems can either be created using this new block group 112 112 descriptor layout, or existing filesystems can be resized on-line, and 113 113 the field s_first_meta_bg in the superblock will indicate the first