[Ocfs2-users] Feature Question: Inotify over OCFS2

Joel Becker Joel.Becker at oracle.com
Sun Dec 28 02:35:37 PST 2008


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.becker at oracle.com
Phone: (650) 506-8127



More information about the Ocfs2-users mailing list