2008-03-10 08:14:22

by Pierre Ossman

[permalink] [raw]
Subject: inotify fixes in stable

Hi Greg,

I was hoping that the fixes for bug 7785 "BUG: at fs/inotify.c:172 set_dentry_child_flags()" could be added to the stable releases. I'm seeing these quite frequently at customer installations.

The relevant commits are d599e36a9ea85432587f4550acc113cd7549d12a and 0d71bd5993b630a989d15adc2562a9ffe41cd26d. Hopefully these do not depend on other updates. Nick would be the expert on that.

Rgds

--
-- Pierre Ossman

Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core developer http://www.rdesktop.org


2008-03-10 16:04:34

by Greg KH

[permalink] [raw]
Subject: Re: inotify fixes in stable

On Mon, Mar 10, 2008 at 09:11:55AM +0100, Pierre Ossman wrote:
> Hi Greg,
>
> I was hoping that the fixes for bug 7785 "BUG: at fs/inotify.c:172
> set_dentry_child_flags()" could be added to the stable releases. I'm
> seeing these quite frequently at customer installations.

In the future, stable stuff should be sent to the [email protected]
email address and not directly to me, thanks.

> The relevant commits are d599e36a9ea85432587f4550acc113cd7549d12a and
> 0d71bd5993b630a989d15adc2562a9ffe41cd26d. Hopefully these do not
> depend on other updates. Nick would be the expert on that.

Can you verify that if you apply just those 2 patches to the latest
2.6.24.3 kernel release, it fixes the issues for you?

thanks,

greg k-h

2008-03-10 19:39:20

by Pierre Ossman

[permalink] [raw]
Subject: Re: inotify fixes in stable

On Mon, 10 Mar 2008 09:03:17 -0700
Greg KH <[email protected]> wrote:

> On Mon, Mar 10, 2008 at 09:11:55AM +0100, Pierre Ossman wrote:
> > Hi Greg,
> >
> > I was hoping that the fixes for bug 7785 "BUG: at fs/inotify.c:172
> > set_dentry_child_flags()" could be added to the stable releases. I'm
> > seeing these quite frequently at customer installations.
>
> In the future, stable stuff should be sent to the [email protected]
> email address and not directly to me, thanks.
>

Sorry. :/

> > The relevant commits are d599e36a9ea85432587f4550acc113cd7549d12a and
> > 0d71bd5993b630a989d15adc2562a9ffe41cd26d. Hopefully these do not
> > depend on other updates. Nick would be the expert on that.
>
> Can you verify that if you apply just those 2 patches to the latest
> 2.6.24.3 kernel release, it fixes the issues for you?
>

The system is an OpenSuse 10.3 system, so 2.6.22.y would be the interesting one. I'll see if I can get a custom kernel in there (I've been unable to reproduce the problem outside a production environment).

Rgds
--
-- Pierre Ossman

Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core developer http://www.rdesktop.org

2008-03-10 20:32:45

by Greg KH

[permalink] [raw]
Subject: Re: inotify fixes in stable

On Mon, Mar 10, 2008 at 08:36:58PM +0100, Pierre Ossman wrote:
> On Mon, 10 Mar 2008 09:03:17 -0700
> Greg KH <[email protected]> wrote:
>
> > On Mon, Mar 10, 2008 at 09:11:55AM +0100, Pierre Ossman wrote:
> > > Hi Greg,
> > >
> > > I was hoping that the fixes for bug 7785 "BUG: at fs/inotify.c:172
> > > set_dentry_child_flags()" could be added to the stable releases. I'm
> > > seeing these quite frequently at customer installations.
> >
> > In the future, stable stuff should be sent to the [email protected]
> > email address and not directly to me, thanks.
> >
>
> Sorry. :/
>
> > > The relevant commits are d599e36a9ea85432587f4550acc113cd7549d12a and
> > > 0d71bd5993b630a989d15adc2562a9ffe41cd26d. Hopefully these do not
> > > depend on other updates. Nick would be the expert on that.
> >
> > Can you verify that if you apply just those 2 patches to the latest
> > 2.6.24.3 kernel release, it fixes the issues for you?
> >
>
> The system is an OpenSuse 10.3 system, so 2.6.22.y would be the
> interesting one. I'll see if I can get a custom kernel in there (I've
> been unable to reproduce the problem outside a production
> environment).

2.6.22.y is no longer being released by me, so it isn't interesting to
me at all :)

What about 2.6.24? Is this still an issue there?

thanks,

greg k-h

2008-03-10 21:00:22

by Pierre Ossman

[permalink] [raw]
Subject: Re: inotify fixes in stable

On Mon, 10 Mar 2008 13:31:16 -0700
Greg KH <[email protected]> wrote:

> On Mon, Mar 10, 2008 at 08:36:58PM +0100, Pierre Ossman wrote:
> >
> > The system is an OpenSuse 10.3 system, so 2.6.22.y would be the
> > interesting one. I'll see if I can get a custom kernel in there (I've
> > been unable to reproduce the problem outside a production
> > environment).
>
> 2.6.22.y is no longer being released by me, so it isn't interesting to
> me at all :)
>

Oh? You made a release just 13 days ago, so I figured you were still giving it some love.

> What about 2.6.24? Is this still an issue there?

Judging from the kernel bugzilla, it would seem so.

But in my specific case, the guy on site was going to try an updated kernel from Suse's build system. I'll probably now the results tomorrow or the day after that.

Rgds
--
-- Pierre Ossman

Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core developer http://www.rdesktop.org

2008-03-10 21:14:53

by Greg KH

[permalink] [raw]
Subject: Re: inotify fixes in stable

On Mon, Mar 10, 2008 at 09:57:55PM +0100, Pierre Ossman wrote:
> On Mon, 10 Mar 2008 13:31:16 -0700
> Greg KH <[email protected]> wrote:
>
> > On Mon, Mar 10, 2008 at 08:36:58PM +0100, Pierre Ossman wrote:
> > >
> > > The system is an OpenSuse 10.3 system, so 2.6.22.y would be the
> > > interesting one. I'll see if I can get a custom kernel in there (I've
> > > been unable to reproduce the problem outside a production
> > > environment).
> >
> > 2.6.22.y is no longer being released by me, so it isn't interesting to
> > me at all :)
> >
>
> Oh? You made a release just 13 days ago, so I figured you were still
> giving it some love.

In that release, I said it was going to be my last.

> > What about 2.6.24? Is this still an issue there?
>
> Judging from the kernel bugzilla, it would seem so.
>
> But in my specific case, the guy on site was going to try an updated
> kernel from Suse's build system. I'll probably now the results
> tomorrow or the day after that.

Please let us know.

thanks,

greg k-h

2008-03-11 04:19:38

by Nick Piggin

[permalink] [raw]
Subject: Re: inotify fixes in stable

On Tuesday 11 March 2008 08:13, Greg KH wrote:
> On Mon, Mar 10, 2008 at 09:57:55PM +0100, Pierre Ossman wrote:
> > On Mon, 10 Mar 2008 13:31:16 -0700
> >
> > Greg KH <[email protected]> wrote:
> > > On Mon, Mar 10, 2008 at 08:36:58PM +0100, Pierre Ossman wrote:
> > > > The system is an OpenSuse 10.3 system, so 2.6.22.y would be the
> > > > interesting one. I'll see if I can get a custom kernel in there (I've
> > > > been unable to reproduce the problem outside a production
> > > > environment).
> > >
> > > 2.6.22.y is no longer being released by me, so it isn't interesting to
> > > me at all :)
> >
> > Oh? You made a release just 13 days ago, so I figured you were still
> > giving it some love.
>
> In that release, I said it was going to be my last.
>
> > > What about 2.6.24? Is this still an issue there?
> >
> > Judging from the kernel bugzilla, it would seem so.
> >
> > But in my specific case, the guy on site was going to try an updated
> > kernel from Suse's build system. I'll probably now the results
> > tomorrow or the day after that.
>
> Please let us know.

The messages should actually be harmless. There is a race in the debug
code that can trigger them. But I wouldn't object to the patches going
to -stable...

2008-03-24 22:33:43

by Christian Lamparter

[permalink] [raw]
Subject: Re: inotify fixes in stable

On Tuesday 11 March 2008 05:12:37 Nick Piggin wrote:
>
> The messages should actually be harmless. There is a race in the debug
> code that can trigger them. But I wouldn't object to the patches going
> to -stable...
>
let me guess... the patch didn't get into 2.6.24.4, right? because I still
get these noisy "WARNING: at fs/inotify.c:172 set_dentry_child_flags()"
and probably alot of other kde4 users too?!

Regards,
Christian

2008-03-25 00:43:51

by Chris Wright

[permalink] [raw]
Subject: Re: inotify fixes in stable

* Chr ([email protected]) wrote:
> On Tuesday 11 March 2008 05:12:37 Nick Piggin wrote:
> >
> > The messages should actually be harmless. There is a race in the debug
> > code that can trigger them. But I wouldn't object to the patches going
> > to -stable...
> >
> let me guess... the patch didn't get into 2.6.24.4, right? because I still
> get these noisy "WARNING: at fs/inotify.c:172 set_dentry_child_flags()"
> and probably alot of other kde4 users too?!

a) doesn't appear to have been Cc'd to [email protected] until now
(fell through one crack)
b) there was outstanding request from greg for clarification of the
issue for 2.6.24 (fell through another crack)

Please just explicitly send the fixes to [email protected] and Cc Nick.

I'm actually disinclined to take 0d71bd5993b630a989d15adc2562a9ffe41cd26d
which seems to primarily just remove the WARN_ON(), although that is
assuming it is indeed no longer triggered with just the race fix,
d599e36a9ea85432587f4550acc113cd7549d12a.

thanks,
-chris

2008-03-25 13:15:51

by Christian Lamparter

[permalink] [raw]
Subject: Re: inotify fixes in stable

On Tuesday 25 March 2008 01:42:33 Chris Wright wrote:
> * Chr ([email protected]) wrote:
>
> [...]
>
> Please just explicitly send the fixes to [email protected] and Cc Nick.
Done...! I took both patches from the current git-tree.
but forgot to add a tested-by flag... well, but I added the patches, right?!

>
> I'm actually disinclined to take 0d71bd5993b630a989d15adc2562a9ffe41cd26d
> which seems to primarily just remove the WARN_ON(), although that is
> assuming it is indeed no longer triggered with just the race fix,
> d599e36a9ea85432587f4550acc113cd7549d12a.
hmm, Nick said that the debug code is racy and "not very good at finding
problems" either... But as long as the real fix has a _real_ change to get
merged in 2.6.24.5, I'm happy ;-)

>
> thanks,
> -chris

Regards,
Christian