public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] common/rc: support f2fs in _require_fanotify_ioerrors()
@ 2026-03-24  2:56 Chao Yu
  2026-03-25  5:53 ` Christoph Hellwig
  0 siblings, 1 reply; 5+ messages in thread
From: Chao Yu @ 2026-03-24  2:56 UTC (permalink / raw)
  To: Zorro Lang, fstests; +Cc: jaegeuk, linux-f2fs-devel, Chao Yu

This patch allows to run generic/791 on f2fs.

Signed-off-by: Chao Yu <chao@kernel.org>
---
 common/rc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/common/rc b/common/rc
index 5fe44e21..8f09f19a 100644
--- a/common/rc
+++ b/common/rc
@@ -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"
-- 
2.49.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] common/rc: support f2fs in _require_fanotify_ioerrors()
  2026-03-24  2:56 [PATCH] common/rc: support f2fs in _require_fanotify_ioerrors() Chao Yu
@ 2026-03-25  5:53 ` Christoph Hellwig
  2026-03-25  6:30   ` Chao Yu
  2026-03-31 20:11   ` Zorro Lang
  0 siblings, 2 replies; 5+ messages in thread
From: Christoph Hellwig @ 2026-03-25  5:53 UTC (permalink / raw)
  To: Chao Yu; +Cc: Zorro Lang, fstests, jaegeuk, linux-f2fs-devel

On Tue, Mar 24, 2026 at 10:56:55AM +0800, Chao Yu wrote:
> 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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] common/rc: support f2fs in _require_fanotify_ioerrors()
  2026-03-25  5:53 ` Christoph Hellwig
@ 2026-03-25  6:30   ` Chao Yu
  2026-03-31 20:11   ` Zorro Lang
  1 sibling, 0 replies; 5+ messages in thread
From: Chao Yu @ 2026-03-25  6:30 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: chao, Zorro Lang, fstests, jaegeuk, linux-f2fs-devel

On 3/25/26 13:53, Christoph Hellwig wrote:
> On Tue, Mar 24, 2026 at 10:56:55AM +0800, Chao Yu wrote:
>> 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,


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] common/rc: support f2fs in _require_fanotify_ioerrors()
  2026-03-25  5:53 ` Christoph Hellwig
  2026-03-25  6:30   ` Chao Yu
@ 2026-03-31 20:11   ` Zorro Lang
  2026-04-01  6:19     ` Christoph Hellwig
  1 sibling, 1 reply; 5+ messages in thread
From: Zorro Lang @ 2026-03-31 20:11 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: Chao Yu, Zorro Lang, fstests, jaegeuk, linux-f2fs-devel

On Tue, Mar 24, 2026 at 10:53:01PM -0700, Christoph Hellwig wrote:
> On Tue, Mar 24, 2026 at 10:56:55AM +0800, Chao Yu wrote:
> > 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

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] common/rc: support f2fs in _require_fanotify_ioerrors()
  2026-03-31 20:11   ` Zorro Lang
@ 2026-04-01  6:19     ` Christoph Hellwig
  0 siblings, 0 replies; 5+ messages in thread
From: Christoph Hellwig @ 2026-04-01  6:19 UTC (permalink / raw)
  To: Zorro Lang
  Cc: Christoph Hellwig, Chao Yu, Zorro Lang, fstests, jaegeuk,
	linux-f2fs-devel

On Wed, Apr 01, 2026 at 04:11:05AM +0800, Zorro Lang wrote:
> On Tue, Mar 24, 2026 at 10:53:01PM -0700, Christoph Hellwig wrote:
> > On Tue, Mar 24, 2026 at 10:56:55AM +0800, Chao Yu wrote:
> > > 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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-04-01  6:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-24  2:56 [PATCH] common/rc: support f2fs in _require_fanotify_ioerrors() Chao Yu
2026-03-25  5:53 ` Christoph Hellwig
2026-03-25  6:30   ` Chao Yu
2026-03-31 20:11   ` Zorro Lang
2026-04-01  6:19     ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox