From: John McCutchan <ttb@tentacle.dhs.org>
To: Anton Altaparmakov <aia21@cam.ac.uk>
Cc: Daniel Drake <dsd@gentoo.org>, David G?mez <david@pleyades.net>,
Robert Love <rml@novell.com>,
Linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Problem with inotify
Date: Tue, 5 Jul 2005 14:07:12 -0400 [thread overview]
Message-ID: <20050705180711.GA17429@tentacle.dhs.org> (raw)
In-Reply-To: <Pine.LNX.4.60.0507051804050.1458@hermes-1.csi.cam.ac.uk>
On Tue, Jul 05, 2005 at 06:06:56PM +0100, Anton Altaparmakov wrote:
> On Tue, 5 Jul 2005, John McCutchan wrote:
> > On Tue, Jul 05, 2005 at 08:56:15AM +0100, Anton Altaparmakov wrote:
> > > On Mon, 4 Jul 2005, John McCutchan wrote:
> > > > On Mon, 2005-07-04 at 20:09 +0100, Anton Altaparmakov wrote:
> > > > > On Mon, 4 Jul 2005, Daniel Drake wrote:
> > > > > > Anton Altaparmakov wrote:
> > > > > > > )-: I have addressed the only things I can think off that could cause
> > > > > > > the oops and below is the resulting patch. Could you please test it?
> > > > > >
> > > > > > Yeah!! After removing I_WILL_FREE stuff, that fixed both the oops *and* the
> > > > > > hang. Everything works nicely now.
> > > > >
> > > > > Great! Thanks a lot for testing! I will send a patch to Robert and
> > > > > Andrew in a minute with more comments added.
> > > >
> > > > Nice work, I am going to have a closer look at the patch soon. Could you
> > > > post the final patch at http://bugzilla.kernel.org/show_bug.cgi?id=4796
> > >
> > > Thanks. Now done. But I am not sure about the white space. I can't get
> > > anything sensible out of IE on Mac OS 9 which I am on at the moment.
> >
> > Originally inotify had 2 functions that handled this. One that would
> > build up a list of inodes to call remove_watch on, the other function
> > would do the actual calling of remove_watch. This mirrored the other
> > unmount paths. I'm wondering if it wouldn't be cleaner to revert back to
> > that way?
>
> That is certainly possible. Out of curiosity, how did you anchor the
> inodes to your private list? Or did you just have a dynamically allocated
> array of pointers to inodes?
>
The only reason I suggested it, is I'm afraid that maybe we are still
missing a corner case. Even with your fix.
We just added a new list_head in the inode struct. If you look at older
versions of inotify, maybe around 0.15 you can see for yourself.
John
next prev parent reply other threads:[~2005-07-05 17:59 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-30 18:18 Problem with inotify David Gómez
2005-06-30 18:29 ` Robert Love
2005-06-30 18:38 ` David Gómez
2005-06-30 19:33 ` David Gómez
2005-06-30 20:39 ` Anton Altaparmakov
2005-06-30 20:48 ` David Gómez
2005-06-30 22:35 ` Anton Altaparmakov
2005-07-01 20:25 ` Robert Love
2005-07-02 12:54 ` David Gómez
2005-07-02 16:25 ` Robert Love
2005-07-02 9:12 ` Daniel Drake
2005-07-02 22:09 ` Anton Altaparmakov
2005-07-02 23:38 ` Daniel Drake
2005-07-03 0:08 ` Anton Altaparmakov
2005-07-03 10:34 ` Daniel Drake
2005-07-04 14:27 ` Anton Altaparmakov
2005-07-04 14:39 ` Anton Altaparmakov
2005-07-04 15:12 ` Anton Altaparmakov
2005-07-04 15:55 ` Gautam Singaraju
2005-07-04 16:00 ` Anton Altaparmakov
2005-07-04 17:57 ` Daniel Drake
2005-07-04 19:09 ` Anton Altaparmakov
2005-07-05 1:33 ` John McCutchan
2005-07-05 7:56 ` Anton Altaparmakov
2005-07-05 15:48 ` John McCutchan
2005-07-05 17:06 ` Anton Altaparmakov
2005-07-05 18:07 ` John McCutchan [this message]
2005-07-05 20:53 ` Anton Altaparmakov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050705180711.GA17429@tentacle.dhs.org \
--to=ttb@tentacle.dhs.org \
--cc=aia21@cam.ac.uk \
--cc=david@pleyades.net \
--cc=dsd@gentoo.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rml@novell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox