lkml.org 
[lkml]   [2009]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/3] inotify: do not BUG on idr entries at inotify destruction
From
Date
On Mon, 2009-08-24 at 12:23 -0700, Linus Torvalds wrote:
>
> On Mon, 24 Aug 2009, Eric Paris wrote:
> >
> > You suspect correctly. :( I'll fix in my tree before I request a
> > pull....
>
> Can you change the WARN() to a WARN_ONCE() too.
>
> Generally, we prefer the "ONCE" variant if there isn't some intrisic
> reason why we'd want to know about each event. If there is some load that
> triggers this, do you care about _how_many_times_ it happens, or about the
> fact that it happens in the first place? In this case, I think it's the
> "happens in the first place" case - once you see it a single time, the
> rest of the reports aren't that interesting.
>
> And using the ONCE thing means that we know it's not going to spam the
> logs.

If everyone having {fs,i}notify problems want to check out my latest
for-linus tree that would be great. It has his latest tree plus fixed
'versions' of the 3 patches I sent earlier.

http://git.infradead.org/users/eparis/notify.git/shortlog/refs/heads/for-linus

-Eric



\
 
 \ /
  Last update: 2009-08-24 22:39    [W:2.320 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site