]> git.ipfire.org Git - thirdparty/linux.git/commit
f2fs: support to report fserror
authorChao Yu <chao@kernel.org>
Sat, 28 Mar 2026 08:36:02 +0000 (08:36 +0000)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 22 May 2026 03:49:06 +0000 (03:49 +0000)
commitccc6436abb847352b8ed2de7a8ab2df45bb06622
tree3eba8cbcbd077cdee20162fa06e62c2c6dce5780
parente6c8140bd06d7dd8ee1e3c690445d3cfcaf1d892
f2fs: support to report fserror

This patch supports to report fserror, it provides another way to let
userspace to monitor filesystem level error. In addition, it exports
/sys/fs/f2fs/features/fserror once f2fs kernel module start to support
the new feature, then generic/791 of fstests can notice the feature,
and verify validation of fserror report.

Cc: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
13 files changed:
Documentation/ABI/testing/sysfs-fs-f2fs
fs/f2fs/compress.c
fs/f2fs/data.c
fs/f2fs/dir.c
fs/f2fs/inline.c
fs/f2fs/inode.c
fs/f2fs/node.c
fs/f2fs/recovery.c
fs/f2fs/segment.c
fs/f2fs/super.c
fs/f2fs/sysfs.c
fs/f2fs/verity.c
fs/f2fs/xattr.c