]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic: test fsnotify filesystem error reporting
authorDarrick J. Wong <djwong@kernel.org>
Tue, 10 Mar 2026 03:50:08 +0000 (20:50 -0700)
committerZorro Lang <zlang@kernel.org>
Tue, 17 Mar 2026 03:31:43 +0000 (11:31 +0800)
commit29d120e41c3d3d08b8eebe0d393cb79ef59589cc
treef3a5d99919dd74f52cf87ce9348d7e7e02b4cff9
parentfd92924495149d3e6e3447ab85f50427c47e3a86
generic: test fsnotify filesystem error reporting

Use dmerror to inject a media error for a file's storage, then run
some IO and make sure that fanotify reports the IO errors.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
.gitignore
common/rc
doc/group-names.txt
src/Makefile
src/fs-monitor.c [new file with mode: 0644]
tests/generic/791 [new file with mode: 0755]
tests/generic/791.out [new file with mode: 0644]