]> www.infradead.org Git - users/hch/xfs-documentation.git/commit
design: fix computation of buffer log item bitmap size 2022-01-19
authorDarrick J. Wong <djwong@kernel.org>
Wed, 10 Nov 2021 01:38:57 +0000 (17:38 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 4 Jan 2022 01:45:06 +0000 (17:45 -0800)
commitf1de07284aba6ddb2b4165576298a4db0cd45f4c
treed243a74d9f7950fc19d497d3eec4a8f5b10179f8
parent11ab62f4b81ce003ed0962405033eb32be7d8f88
design: fix computation of buffer log item bitmap size

Wengang Wang was trying to work through a buffer log item by consulting
the ondisk format documentation, and was confused by the formula given
in section 14.3.14 regarding the size of blf_data_map, aka the dirty
bitmap for buffer log items.  We noticed that the documentation doesn't
match what the kernel actually does, so let's fix this.

Reported-by: Wengang Wang <wen.gang.wang@oracle.com>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Chandan Babu R <chandan.babu@oracle.com>
design/XFS_Filesystem_Structure/journaling_log.asciidoc