Re: [PATCHSET v5] fs: generic file IO error reporting
From: Christian Brauner <brauner@kernel.org>
Date: 2026-01-13 08:58:36
Also in:
linux-ext4, linux-fsdevel, linux-xfs
On Mon, 12 Jan 2026 16:31:03 -0800, Darrick J. Wong wrote:
This patchset adds some generic helpers so that filesystems can report errors to fsnotify in a standard way. Then it adapts iomap to use the generic helpers so that any iomap-enabled filesystem can report I/O errors through this mechanism as well. Finally, it makes XFS report metadata errors through this mechanism in much the same way that ext4 does now. [...]
Applied to the vfs-7.0.fserror branch of the vfs/vfs.git tree. Patches in the vfs-7.0.fserror 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-7.0.fserror [1/6] uapi: promote EFSCORRUPTED and EUCLEAN to errno.h https://git.kernel.org/vfs/vfs/c/602544773763 [2/6] fs: report filesystem and file I/O errors to fsnotify https://git.kernel.org/vfs/vfs/c/21945e6cb516 [3/6] iomap: report file I/O errors to the VFS https://git.kernel.org/vfs/vfs/c/a9d573ee88af [4/6] xfs: report fs metadata errors via fsnotify https://git.kernel.org/vfs/vfs/c/efd87a100729 [5/6] xfs: translate fsdax media errors into file "data lost" errors when convenient https://git.kernel.org/vfs/vfs/c/94503211d2fd [6/6] ext4: convert to new fserror helpers https://git.kernel.org/vfs/vfs/c/81d2e13a57c9