]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ext4: pipeline buffer reads in mext_page_mkuptodate()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 18 Jul 2024 22:30:00 +0000 (23:30 +0100)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 27 Aug 2024 01:47:03 +0000 (21:47 -0400)
commit368a83cebbb949adbcc20877c35367178497d9cc
treee5f681ccde842cb9a6b84cef5de36e325762b750
parente37c9e173bff50a2d57dfecdd694457c00ce5a8c
ext4: pipeline buffer reads in mext_page_mkuptodate()

Instead of synchronously reading one buffer at a time, submit reads
as we walk the buffers in the first loop, then wait for them in the
second loop.  This should be significantly more efficient, particularly
on HDDs, but I have not measured.

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