[LTP] [COMMITTED][PATCH 1/1] runtest: Move fanotify23 from staging to syscalls

Petr Vorel pvorel@suse.cz
Sun Jul 2 21:12:34 CEST 2023


Hi Amir,

> On Fri, Jun 30, 2023 at 10:38 PM Petr Vorel <pvorel@suse.cz> wrote:

> > fanotify23 is a test for FAN_MARK_EVICTABLE, prepared for v5.19-rc1.
> > We forget to move it after v5.19 being released.

> > Signed-off-by: Petr Vorel <pvorel@suse.cz>
> > ---
> > Obviously we forget to check the file after several kernel releases :(.
> > I'm sorry.

> Oh, missed your note on commit:
> [ pvorel: move test into staging ]

> If I'd known, I might have remembered to remind you ;-)

> fanotify23 and fanotify10 both added tests for
> FAN_MARK_EVICTABLE at the same time.

> But since then there were two attempts to improve the reliability
> of fanotify10:

> 48cfd7a99 syscalls/fanotify10: Make evictable marks test more reliable
> 4fefdf340 fanotify10: Make evictable marks tests more reliable

> I wonder if fanotify23's reliability did not come up so far because
> 1. It was in staging list
> 2. It has this hack:
>        /* Shrinkers on other fs do not work reliably enough to
> guarantee mark eviction on drop_caches */
>        .dev_fs_type = "ext2",

> I guess we will know soon ...

I wonder myself :). But I actually filled openSUSE bug [1] about fanotify23
randomly failing, when running more times (e.g. ./fanotify23 -i5). I was not
sure if it's openSUSE specific or not (I suspect the problem is generic, but 2
tested Debian systems don't suffer this), thus I first put it to the Jan's queue.

Kind regards,
Petr

[1] https://bugzilla.suse.com/1212906

> Thanks,
> Amir.


More information about the ltp mailing list