]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ext4: make the writeback path support large folios
authorZhang Yi <yi.zhang@huawei.com>
Mon, 12 May 2025 06:33:17 +0000 (14:33 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 20 May 2025 14:31:12 +0000 (10:31 -0400)
commitcd9f76de6ae9a5a0ca6201b1f06cf116a6a3e3a2
treee8deb1b6776fed4b2fb34b1f1878190ab5a30c64
parent0e32d86170121c2d43508e923cb171fb58953b42
ext4: make the writeback path support large folios

In mpage_map_and_submit_buffers(), the 'lblk' is now aligned to
PAGE_SIZE. Convert it to be aligned to folio size. Additionally, modify
the wbc->nr_to_write update to reduce the number of pages in a single
folio, ensuring that the entire writeback path can support large folios.

Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Link: https://patch.msgid.link/20250512063319.3539411-7-yi.zhang@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/inode.c