Re: [PATCH v3 0/2] ext4: avoid tail walks for cached large-folio writes

"Theodore Ts'o" <[email protected]>
Newsgroups org.kernel.vger.linux-ext4,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel
Message-ID <178481171724.796182.1013390309077521614.b4-ty@b4>
On Tue, 09 Jun 2026 11:52:00 +0800, Jia Zhu wrote:
> This series addresses a buffered-write regression we found during our
> v6.12 -> v6.18 LTS upgrade testing on ext4.
> 
> The regression is in the remaining buffer_head path.  A small overwrite
> of an already cached, uptodate large folio still walks every buffer_head
> attached to the folio in both write_begin and write_end.  With order-0
> folios this was bounded by the page size.  After ext4 enabled large
> folios for regular files, the same loops became proportional to the
> folio size.
> 
> [...]

Applied, thanks!

[1/2] fs/buffer: avoid tail commit walk for uptodate folios
      commit: f10b9cc1eb20637351f4e33372bfb464f89de59b
[2/2] ext4: avoid tail write_begin walk for uptodate folios
      commit: d09811183db2891776dbf0c0f1094540e29938f6

Best regards,
-- 
Theodore Ts'o <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.