Re: [Ocfs2-users] Feature Question: Inotify over OCFS2

2008-12-28 Thread Joel Becker
On Sun, Dec 28, 2008 at 07:45:11PM +1100, Brett Worth wrote:
> Raz Ben-Yehuda wrote:
> > Is Inotify **fully supported** by OCFS2? 
> 
> I just did some grep'ing through the source tree and my guess is that inotify 
> is not
> supported at all by OCFS2.  I'd be happy to be wrong but there's no reference 
> to it anywhere.

There's no results for grepping 'inofity' (or 'fsnotify', the
generic bit) in ext2 or ext3 either.  To my knowledge, filesystems don't
have to do anything special.
Now, how does inotify play in the world of a cluster filesystem
like ocfs2?  That's a different story.  My guess is that actions taking
place on the local node will be seen as expected, but actions happening
on another node will not.  ocfs2 makes no provision to tell one node
about something that happens on another node unless it affects the first
node's open files.
I bet this fails Raz's test of "fully supported", if he expects
to have inotify watches on node 1 see actions that occur on node 2.
Conversely, I would bet that an un-clustered ("local") ocfs2 filesystem
would behave identically to other local filesystems like ext3.

Joel

-- 

"There is a country in Europe where multiple-choice tests are
 illegal."
- Sigfried Hulzer

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.bec...@oracle.com
Phone: (650) 506-8127

___
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users


Re: [Ocfs2-users] Feature Question: Inotify over OCFS2

2008-12-28 Thread Brett Worth
Raz Ben-Yehuda wrote:
> Is Inotify **fully supported** by OCFS2? 

I just did some grep'ing through the source tree and my guess is that inotify 
is not
supported at all by OCFS2.  I'd be happy to be wrong but there's no reference 
to it anywhere.

Brett

___
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users


[Ocfs2-users] Feature Question: Inotify over OCFS2

2008-12-28 Thread Raz Ben-Yehuda
Is Inotify **fully supported** by OCFS2? 

Thank you

___
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users


[Ocfs2-users] Feature Question: Inotify over OCFS2.

2008-12-27 Thread Raz Ben-Yehuda
Is Inotify **fully supported** by OCFS2 ? Does it work well ?

Thank you

 

___
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users