Skip to contentSkip to conversation

common/rc: support f2fs in _require_fanotify_ioerrors()

PATCH Superseded Chao Yu 3 participants 5 messages Mar 24 – Apr 1

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Chao Yu

author
#0 lore raw

PATCH 1/1 common/rc: support f2fs in _require_fanotify_ioerrors()

This patch allows to run generic/791 on f2fs.

---
 common/rc | 3 +++
 1 file changed, 3 insertions(+)
common/rc +3 -0
index 5fe44e21..8f09f19a 100644
@@ -6184,6 +6184,9 @@ _require_fanotify_ioerrors()
 		x="$(_get_fs_sysfs_attr $TEST_DEV err_report_sec)"
 		test -n "$x" && return 0
 		;;
+	f2fs)
+		x="$(cat /sys/fs/f2fs/features/fserror)"
+		test -n "$x" && return 0
 	esac
 
 	_notrun "$FSTYP does not support fanotify ioerrors"
Signature · 1 line
2.49.0
#1 lore raw
Quoted 1 line · Chao Yu

This patch allows to run generic/791 on f2fs.

When was this introduced? This doesn't currently exist in mainline, and it would probably help to run your fserror implementation past Darrick and fsdevel for review.

author
#2 lore raw
Quoted 6 lines · Christoph Hellwig
Quoted 1 line · Chao Yu

This patch allows to run generic/791 on f2fs.

When was this introduced? This doesn't currently exist in mainline, and it would probably help to run your fserror implementation past Darrick and fsdevel for review.

Oh, let me Cc Darrick and fsdevel for review.

Thanks,

#3 lore raw
In reply to Christoph Hellwig
Quoted 4 lines · Christoph Hellwig
Quoted 1 line · Chao Yu

This patch allows to run generic/791 on f2fs.

When was this introduced? This doesn't currently exist in mainline,

Hi Christoph,

g/791 and _require_fanotify_ioerrors was introduced in v2026.03.20.

Thanks,
Zorro

Quoted 4 lines

and it would probably help to run your fserror implementation past Darrick and fsdevel for review.

#4 lore raw
Quoted 9 lines · Zorro Lang
Quoted 4 lines · Christoph Hellwig
Quoted 1 line · Chao Yu

This patch allows to run generic/791 on f2fs.

When was this introduced? This doesn't currently exist in mainline,

Hi Christoph,

g/791 and _require_fanotify_ioerrors was introduced in v2026.03.20.

I mean the f2fs kernel support, sorry.