]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ext4: add large folios support for moving extents
authorZhang Yi <yi.zhang@huawei.com>
Mon, 13 Oct 2025 01:51:27 +0000 (09:51 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 6 Nov 2025 15:44:39 +0000 (10:44 -0500)
commit65097262f5ee786e649224ead2c08b7552376269
tree33afdfd6bb0c8877ceaf6d6460f35ed325339aa0
parent4589c4518f7c19e49ae2ba4767a86db881017793
ext4: add large folios support for moving extents

Pass the moving extent length into mext_folio_double_lock() so that it
can acquire a higher-order folio if the length exceeds PAGE_SIZE. This
can speed up extent moving when the extent is larger than one page.
Additionally, remove the unnecessary comments from
mext_folio_double_lock().

Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Message-ID: <20251013015128.499308-12-yi.zhang@huaweicloud.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/move_extent.c