Re: Question about inotify and bind mount.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 01, 2010 at 11:49:41AM +0200, Stef Bon wrote:
> So inotify works with bind mounts.
> Can someone explain what happens here exactly.
> I'm just trying to understand what's happing, I want to know as much
> as possible how inotify works.

This is because inotify is directly bound to the inode, not to a
path. Any time the inode is modified through any path, the inotify
client can still get an event.

The basic issue with inotify support in fuse (or in network/cluster
fs drivers) is that the driver is not told when events are desired
on a particular inode. This means that events that appear to be
remote in some sense are very difficult to request. I looked at
this for supporting SMB client directory notifications (for which
samba uses inotify) while exporting a non-local FS. My thought was
that what is required is a way for the fsnotify layer to notify the
FS driver when the event mask changes on an inode (requires a new
inode operation) as well as a clean way for the FS driver to
send arbitrary events which came from the remote end. I didn't
need it bad enough to take the time to write any code yet.

	Brad Boyer
	flar@xxxxxxxxxxxxx

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux