]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ext4: enable large folio for regular file
authorZhang Yi <yi.zhang@huawei.com>
Mon, 12 May 2025 06:33:19 +0000 (14:33 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 20 May 2025 14:31:12 +0000 (10:31 -0400)
commit7ac67301e82f02b77a5c8e7377a1f414ef108b84
treee5bbdd26379445770b2f6caa6b4d902293f30ba9
parent01e807e18fd87937f515926b79152dfa4f13b735
ext4: enable large folio for regular file

Besides fsverity, fscrypt, and the data=journal mode, ext4 now supports
large folios for regular files. Enable this feature by default. However,
since we cannot change the folio order limitation of mappings on active
inodes, setting the journal=data mode via ioctl on an active inode will
not take immediate effect in non-delalloc mode.

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