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

From: Theodore Ts'o

Date: Thu Jul 23 2026 - 09:27:35 EST



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 <tytso@xxxxxxx>