Re: [PATCH v3] ext4: don't report delalloc data as a hole on indirect-mapped inodes
From: Theodore Ts'o
Date: Fri Oct 09 2026 - 04:59:47 EST
On Thu, 27 Aug 2026 17:48:29 +0900, Daejun Park wrote:
> When a plain lookup finds no block, ext4_ind_map_blocks() sizes the hole
> it reports by counting the empty subtrees under 'partial' in the on-disk
> indirect tree. That count knows nothing about delayed allocation, so a
> range holding delalloc data that has not been written back yet is
> reported as a plain hole. The extent-mapped path does not have this
> problem: it trims the hole it found at the first delayed extent before
> returning it.
>
> [...]
Applied, thanks!
[1/1] ext4: don't report delalloc data as a hole on indirect-mapped inodes
commit: aed43f47e1edeee1454eea86006a8c09480e5ed3
Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>