aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorZhang Yi <[email protected]>2025-05-12 06:33:15 +0000
committerTheodore Ts'o <[email protected]>2025-05-20 14:31:12 +0000
commitd6bf294773a472fe4694b92714af482f5c6aa4c6 (patch)
treee84c063bcc14757b3682ea513128217aa0433389 /fs/ext4/fast_commit.c
parentext4: make __ext4_block_zero_page_range() support large folio (diff)
downloadkernel-d6bf294773a472fe4694b92714af482f5c6aa4c6.tar.gz
kernel-d6bf294773a472fe4694b92714af482f5c6aa4c6.zip
ext4/jbd2: convert jbd2_journal_blocks_per_page() to support large folio
jbd2_journal_blocks_per_page() returns the number of blocks in a single page. Rename it to jbd2_journal_blocks_per_folio() and make it returns the number of blocks in the largest folio, preparing for the calculation of journal credits blocks when allocating blocks within a large folio in the writeback path. Signed-off-by: Zhang Yi <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions