]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ext4: remove array of buffer_heads from mext_page_mkuptodate()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 18 Jul 2024 22:30:01 +0000 (23:30 +0100)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 27 Aug 2024 01:47:03 +0000 (21:47 -0400)
commita40759fb16ae839f8c769174fde017564ea564ff
treea8dd4cb44a705911f7522772b06974aeb00fc485
parent368a83cebbb949adbcc20877c35367178497d9cc
ext4: remove array of buffer_heads from mext_page_mkuptodate()

Iterate the folio's list of buffer_heads twice instead of keeping
an array of pointers.  This solves a too-large-array-for-stack problem
on architectures with a ridiculoously large PAGE_SIZE and prepares
ext4 to support larger folios.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Link: https://patch.msgid.link/20240718223005.568869-3-willy@infradead.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/move_extent.c