All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [LTP] Patch "fsnotify: consistent behavior for parent not watching children" has been added to the 5.15-stable tree
       [not found]   ` <ACB7BCB8-E6EA-41DC-8228-881081AA0596@oracle.com>
@ 2024-08-30 20:35     ` Petr Vorel
  2024-08-30 20:58       ` Amir Goldstein
  0 siblings, 1 reply; 2+ messages in thread
From: Petr Vorel @ 2024-08-30 20:35 UTC (permalink / raw)
  To: Chuck Lever III
  Cc: Sasha Levin, Jan Kara, Matthew Bobrowski,
	stable-commits@vger.kernel.org, ltp

Hi Chuck,

> Hi Amir-

> > On Mar 20, 2024, at 2:57 AM, Amir Goldstein <amir73il@gmail.com> wrote:

> > Please follow up in adjusting the LTP test fanotify09 to update this
> > comment with the appropriate 5.15.y version:

> > * Test cases #6-#7 are regression tests for commit:
> > * (from v5.19, unlikely to be backported thus not in .tags):
> > *
> > *      e730558adffb fanotify: consistent behavior for parent not
> > watching children

> > As well as this hackish test condition:

> >        if (tc->ignore && tst_kvercmp(5, 19, 0) < 0) {
> >                tst_res(TCONF, "ignored mask on parent dir has undefined "
> >                                "behavior on kernel < 5.19");
> >                return;
> >        }

> I'm not sure how this check should be altered.

> The fix in question now appears in both 5.10.220 and
> 5.15.154. Which means the commit is in, for instance,
> 5.10.222 and 5.15.160, but not in 5.13.0 or 5.17.0.

Thank you for noticing that. The comment on the test patch [1] was:

 * Test cases #6-#7 are regression tests for commit:
 * (from v5.19, unlikely to be backported thus not in .tags):

I see in the end it got backported. Now we have to decide whether it's important
enough that we should put commit in the tag and run it unconditionally
(preferred way for fixes) or from the latest stable kernel version which got the
backport.

AFAIK LTP should not try to hide bugs, report missing fix. And it's up to
testers and the projects if they consider the problem as WONTFIX or the kernel
they test will backport the fix.

Kind regards,
Petr

[1] https://lore.kernel.org/ltp/20220620132737.2015073-5-amir73il@gmail.com/

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

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

* Re: [LTP] Patch "fsnotify: consistent behavior for parent not watching children" has been added to the 5.15-stable tree
  2024-08-30 20:35     ` [LTP] Patch "fsnotify: consistent behavior for parent not watching children" has been added to the 5.15-stable tree Petr Vorel
@ 2024-08-30 20:58       ` Amir Goldstein
  0 siblings, 0 replies; 2+ messages in thread
From: Amir Goldstein @ 2024-08-30 20:58 UTC (permalink / raw)
  To: Petr Vorel
  Cc: Sasha Levin, Jan Kara, Matthew Bobrowski, Chuck Lever III,
	stable-commits, LTP List

On Fri, Aug 30, 2024, 10:35 PM Petr Vorel <pvorel@suse.cz> wrote:

> Hi Chuck,
>
> > Hi Amir-
>
> > > On Mar 20, 2024, at 2:57 AM, Amir Goldstein <amir73il@gmail.com>
> wrote:
>
> > > Please follow up in adjusting the LTP test fanotify09 to update this
> > > comment with the appropriate 5.15.y version:
>
> > > * Test cases #6-#7 are regression tests for commit:
> > > * (from v5.19, unlikely to be backported thus not in .tags):
> > > *
> > > *      e730558adffb fanotify: consistent behavior for parent not
> > > watching children
>
> > > As well as this hackish test condition:
>
> > >        if (tc->ignore && tst_kvercmp(5, 19, 0) < 0) {
> > >                tst_res(TCONF, "ignored mask on parent dir has
> undefined "
> > >                                "behavior on kernel < 5.19");
> > >                return;
> > >        }
>
> > I'm not sure how this check should be altered.
>
> > The fix in question now appears in both 5.10.220 and
> > 5.15.154. Which means the commit is in, for instance,
> > 5.10.222 and 5.15.160, but not in 5.13.0 or 5.17.0.
>
> Thank you for noticing that. The comment on the test patch [1] was:
>
>  * Test cases #6-#7 are regression tests for commit:
>  * (from v5.19, unlikely to be backported thus not in .tags):
>

I suggest to add the fix commit to .tags and change the minimal kernel for
testing tc->ignore to v5.10.0

Testing on v5.13 v5.17 or older v5.10 and v5.15 will just see the bug as
Petr said and could decide to upgrade to newer LTS.

Still I prefer not to add unneeded noise when testing kernels older that
v5.10 but Im fine with whatever you chose to do.

Thanks,
Amir.



> I see in the end it got backported. Now we have to decide whether it's
> important
> enough that we should put commit in the tag and run it unconditionally
> (preferred way for fixes) or from the latest stable kernel version which
> got the
> backport.
>
> AFAIK LTP should not try to hide bugs, report missing fix. And it's up to
> testers and the projects if they consider the problem as WONTFIX or the
> kernel
> they test will backport the fix.
>
> Kind regards,
> Petr
>
> [1]
> https://lore.kernel.org/ltp/20220620132737.2015073-5-amir73il@gmail.com/
>

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

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

end of thread, other threads:[~2024-08-30 20:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20240318231603.2221376-1-sashal@kernel.org>
     [not found] ` <CAOQ4uxjxSQESOZVCV_yL=uwG5+Y89sYRozVSgHPpaudG4CwZqw@mail.gmail.com>
     [not found]   ` <ACB7BCB8-E6EA-41DC-8228-881081AA0596@oracle.com>
2024-08-30 20:35     ` [LTP] Patch "fsnotify: consistent behavior for parent not watching children" has been added to the 5.15-stable tree Petr Vorel
2024-08-30 20:58       ` Amir Goldstein

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.