Re: [PATCH v2] iomap: don't update i_size of block devices on buffered write

From: Christian Brauner

Date: Tue Dec 01 2026 - 08:04:45 EST


On Fri, 20 Nov 2026 12:24:39 -0800, Breno Leitao wrote:
> We are seeing this warning on an arm64 linux-next host while the ublk
> selftests run (stress_01 deletes the ublk disks under fio buffered
> writes):
>
> WARNING: mm/truncate.c:902 at pagecache_isize_extended+0x37c/0x490, CPU#40: iou-wrk-3496756/3497370
> Call trace:
> pagecache_isize_extended+0x37c/0x490 (P)
> iomap_file_buffered_write+0x38c/0x5d0
> blkdev_buffered_write+0xcc/0x138
> blkdev_write_iter+0x32c/0x4e0
> io_write+0x77c/0xff8
>
> [...]

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] iomap: don't update i_size of block devices on buffered write
https://git.kernel.org/vfs/vfs/c/dfd4ce60416c