aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorZhang Yi <[email protected]>2025-05-12 06:33:14 +0000
committerTheodore Ts'o <[email protected]>2025-05-20 14:31:12 +0000
commit2e9466fc5d7c74a0aeeb388c3c2a4c02b7069d58 (patch)
treea8c380d0799cdede9f880dc8acafcbc1de419e06 /fs/ext4/fast_commit.c
parentext4: make regular file's buffered write path support large folios (diff)
downloadkernel-2e9466fc5d7c74a0aeeb388c3c2a4c02b7069d58.tar.gz
kernel-2e9466fc5d7c74a0aeeb388c3c2a4c02b7069d58.zip
ext4: make __ext4_block_zero_page_range() support large folio
The partial block zero range helper __ext4_block_zero_page_range() currently only supports folios of PAGE_SIZE in size. The calculations for the start block and the offset within a folio for the given range are incorrect. Modify the implementation to use offset_in_folio() instead of directly masking PAGE_SIZE - 1, which will be able to support for large folios. 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