lkml.org 
[lkml]   [2005]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Problem with inotify
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?

Best regards,

Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net
WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-07-05 19:15    [W:0.065 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site