* [PATCH v3] common/rc: support f2fs in _require_fanotify_ioerrors()
@ 2026-07-29 9:49 ` Chao Yu via Linux-f2fs-devel
0 siblings, 0 replies; 4+ messages in thread
From: Chao Yu @ 2026-07-29 9:49 UTC (permalink / raw)
To: Zorro Lang, fstests; +Cc: jaegeuk, linux-f2fs-devel, Chao Yu, Darrick J. Wong
f2fs has supported to report fserror, this patch adds support for f2fs
in _require_fanotify_ioerrors(), so that we can run generic/791 on f2fs.
Cc: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Chao Yu <chao@kernel.org>
---
v3:
- fix to chech sysfs node correctly
common/rc | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/common/rc b/common/rc
index 106f044ad..3a8f03412 100644
--- a/common/rc
+++ b/common/rc
@@ -6266,6 +6266,12 @@ _require_fanotify_ioerrors()
x="$(_get_fs_sysfs_attr $TEST_DEV err_report_sec)"
test -n "$x" && return 0
;;
+ f2fs)
+ local feat_file="/sys/fs/f2fs/features/fserror"
+ if [ -f "$feat_file" ] && [ "$(cat "$feat_file")" = "supported" ]; then
+ return 0
+ fi
+ ;;
esac
_notrun "$FSTYP does not support fanotify ioerrors"
--
2.49.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [f2fs-dev] [PATCH v3] common/rc: support f2fs in _require_fanotify_ioerrors()
@ 2026-07-29 9:49 ` Chao Yu via Linux-f2fs-devel
0 siblings, 0 replies; 4+ messages in thread
From: Chao Yu via Linux-f2fs-devel @ 2026-07-29 9:49 UTC (permalink / raw)
To: Zorro Lang, fstests; +Cc: jaegeuk, Darrick J. Wong, linux-f2fs-devel
f2fs has supported to report fserror, this patch adds support for f2fs
in _require_fanotify_ioerrors(), so that we can run generic/791 on f2fs.
Cc: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Chao Yu <chao@kernel.org>
---
v3:
- fix to chech sysfs node correctly
common/rc | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/common/rc b/common/rc
index 106f044ad..3a8f03412 100644
--- a/common/rc
+++ b/common/rc
@@ -6266,6 +6266,12 @@ _require_fanotify_ioerrors()
x="$(_get_fs_sysfs_attr $TEST_DEV err_report_sec)"
test -n "$x" && return 0
;;
+ f2fs)
+ local feat_file="/sys/fs/f2fs/features/fserror"
+ if [ -f "$feat_file" ] && [ "$(cat "$feat_file")" = "supported" ]; then
+ return 0
+ fi
+ ;;
esac
_notrun "$FSTYP does not support fanotify ioerrors"
--
2.49.0
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [f2fs-dev] [PATCH v3] common/rc: support f2fs in _require_fanotify_ioerrors()
2026-07-29 9:49 ` [f2fs-dev] " Chao Yu via Linux-f2fs-devel
@ 2026-07-29 15:47 ` Darrick J. Wong
-1 siblings, 0 replies; 4+ messages in thread
From: Darrick J. Wong via Linux-f2fs-devel @ 2026-07-29 15:47 UTC (permalink / raw)
To: Chao Yu; +Cc: jaegeuk, Zorro Lang, fstests, linux-f2fs-devel
On Wed, Jul 29, 2026 at 09:49:09AM +0000, Chao Yu wrote:
> f2fs has supported to report fserror, this patch adds support for f2fs
> in _require_fanotify_ioerrors(), so that we can run generic/791 on f2fs.
>
> Cc: Darrick J. Wong <djwong@kernel.org>
> Signed-off-by: Chao Yu <chao@kernel.org>
Looks fine to me,
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
--D
> ---
> v3:
> - fix to chech sysfs node correctly
> common/rc | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/common/rc b/common/rc
> index 106f044ad..3a8f03412 100644
> --- a/common/rc
> +++ b/common/rc
> @@ -6266,6 +6266,12 @@ _require_fanotify_ioerrors()
> x="$(_get_fs_sysfs_attr $TEST_DEV err_report_sec)"
> test -n "$x" && return 0
> ;;
> + f2fs)
> + local feat_file="/sys/fs/f2fs/features/fserror"
> + if [ -f "$feat_file" ] && [ "$(cat "$feat_file")" = "supported" ]; then
> + return 0
> + fi
> + ;;
> esac
>
> _notrun "$FSTYP does not support fanotify ioerrors"
> --
> 2.49.0
>
>
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v3] common/rc: support f2fs in _require_fanotify_ioerrors()
@ 2026-07-29 15:47 ` Darrick J. Wong
0 siblings, 0 replies; 4+ messages in thread
From: Darrick J. Wong @ 2026-07-29 15:47 UTC (permalink / raw)
To: Chao Yu; +Cc: Zorro Lang, fstests, jaegeuk, linux-f2fs-devel
On Wed, Jul 29, 2026 at 09:49:09AM +0000, Chao Yu wrote:
> f2fs has supported to report fserror, this patch adds support for f2fs
> in _require_fanotify_ioerrors(), so that we can run generic/791 on f2fs.
>
> Cc: Darrick J. Wong <djwong@kernel.org>
> Signed-off-by: Chao Yu <chao@kernel.org>
Looks fine to me,
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
--D
> ---
> v3:
> - fix to chech sysfs node correctly
> common/rc | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/common/rc b/common/rc
> index 106f044ad..3a8f03412 100644
> --- a/common/rc
> +++ b/common/rc
> @@ -6266,6 +6266,12 @@ _require_fanotify_ioerrors()
> x="$(_get_fs_sysfs_attr $TEST_DEV err_report_sec)"
> test -n "$x" && return 0
> ;;
> + f2fs)
> + local feat_file="/sys/fs/f2fs/features/fserror"
> + if [ -f "$feat_file" ] && [ "$(cat "$feat_file")" = "supported" ]; then
> + return 0
> + fi
> + ;;
> esac
>
> _notrun "$FSTYP does not support fanotify ioerrors"
> --
> 2.49.0
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-07-29 15:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-29 9:49 [PATCH v3] common/rc: support f2fs in _require_fanotify_ioerrors() Chao Yu
2026-07-29 9:49 ` [f2fs-dev] " Chao Yu via Linux-f2fs-devel
2026-07-29 15:47 ` Darrick J. Wong via Linux-f2fs-devel
2026-07-29 15:47 ` Darrick J. Wong
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.