public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH 0/3] Tests for fanotify and overlayfs
@ 2023-09-03 11:15 Amir Goldstein
  2023-09-03 11:15 ` [LTP] [PATCH 1/3] fanotify13: Test watching overlayfs upper fs Amir Goldstein
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Amir Goldstein @ 2023-09-03 11:15 UTC (permalink / raw)
  To: Petr Vorel
  Cc: Christian Brauner, Jan Kara, Miklos Szeredi, linux-unionfs, ltp

Hi Petr,

Kernel 6.5 and upcoming kernel 6.6 have several improvements
to the integration of fanotify and overlayfs.

Kernel 6.5 includes the fix to generate fanotify events on watched
overlayfs underlying filesystem (tst_variant 1).

Kernel 6.5 also added support for the new AT_HANDLE_FID flag,
which is used in this test.

Kernel 6.6 brings overlayfs support for AT_HANDLE_FID and with it
better support for watching overlayfs with fanotify (tst_variant 2).

tst_variant 2 is duely skipped on kernel 6.5 and tst_variant 1
is skipped on older kernels.

Since the overlayfs changes are not in a release kernel yet, and
since this is not a new test that can go to staging tests, I will
leave it to you to decide how and when you want to merge these new
test variants.

Thanks,
Amir.

Amir Goldstein (3):
  fanotify13: Test watching overlayfs upper fs
  fanotify13: Test watching overlayfs with FAN_REPORT_FID
  fanotify13: Test unique overlayfs fsid

 lib/tst_fs_setup.c                            |  2 +-
 testcases/kernel/syscalls/fanotify/fanotify.h | 36 ++++++++-
 .../kernel/syscalls/fanotify/fanotify13.c     | 77 +++++++++++++++++--
 3 files changed, 105 insertions(+), 10 deletions(-)

-- 
2.34.1


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

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

end of thread, other threads:[~2023-09-15  9:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-03 11:15 [LTP] [PATCH 0/3] Tests for fanotify and overlayfs Amir Goldstein
2023-09-03 11:15 ` [LTP] [PATCH 1/3] fanotify13: Test watching overlayfs upper fs Amir Goldstein
2023-09-14 10:32   ` Richard Palethorpe
2023-09-14 13:24     ` Amir Goldstein
2023-09-15  6:51       ` Petr Vorel
2023-09-15  8:28   ` Cyril Hrubis
2023-09-15  9:02     ` Petr Vorel
2023-09-03 11:15 ` [LTP] [PATCH 2/3] fanotify13: Test watching overlayfs with FAN_REPORT_FID Amir Goldstein
2023-09-03 11:15 ` [LTP] [PATCH 3/3] fanotify13: Test unique overlayfs fsid Amir Goldstein

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