Re: [PATCH] netfs: Fix i_size updating
From: Christian Brauner
Date: Tue Jul 01 2025 - 07:43:20 EST
On Thu, 26 Jun 2025 13:32:57 +0100, David Howells wrote:
> Fix the updating of i_size, particularly in regard to the completion of DIO
> writes and especially async DIO writes by using a lock.
>
> The bug is triggered occasionally by the generic/207 xfstest as it chucks a
> bunch of AIO DIO writes at the filesystem and then checks that fstat()
> returns a reasonable st_size as each completes.
>
> [...]
Applied to the vfs.fixes branch of the vfs/vfs.git tree.
Patches in the vfs.fixes branch should appear in linux-next soon.
Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.
It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.
Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs.fixes
[1/1] netfs: Fix i_size updating
https://git.kernel.org/vfs/vfs/c/9754a8f2d5b5
[1/1] netfs: Merge i_size update functions
https://git.kernel.org/vfs/vfs/c/871cb1a5a294