Hi, OK, that's interesting! It's getting much more clear now. How did apps ( or anything else what was interested in file/dir changes) instruct the mount.cifs (or was it smbmount at those days?) prog to watch a particular inode/entry? This is interesting cause that's the issue now, integration from the notify subsytem in VFS and the fs (cifs/fuse or any other) is the key, as I look at it. I have to read a lot about this cause although I'm working already some time now on FUSE fs's, but not on the kernel. Stef 2011/4/25 Steve French <smfrench@xxxxxxxxx>: > On Mon, Apr 25, 2011 at 10:31 AM, Stef Bon <stefbon@xxxxxxxxx> wrote: >> Hi, >> >> yes indeed for network filesystems it's a very usefull feature, but >> also for my FUSE fs it's a real plus. >> >> Can you please tell me something more. Jeff Layton mentioned you name >> in the (short) discussion on the linux fsdevel maillist. He says that >> you have been working on this topic before. >> >> I very much appreciate it when you could send some info, for example >> why it isn't implemented yet. I've seen more than one posts on this >> subject, but never heard about it since (for example some plans for >> GSOC 2010). Is it so hard?? I know it's getting more complicated when >> the backend is a server, which has to support these kinds of request, >> but when I first start with a simple FUSE overlay fs.... > > A few quick points. ÂOS/2 was the first common OS with a vfs > operation for file and directory change notification, but later on > Windows NT 4 or Windows 2000 improved the syntax of the > vfs and the corresponding SMB/CIFS network operation. Â Since > Samba needed to implement this, Tridge requested a local > syscall for this years ago, and a dnotify call was implemented for Linux > for Samba to use. ÂOn the client side, the Linux cifs kernel client > implemented experimental support. ÂLater on, Linux's inotify was implemented to > replace dnotify, which presumably helped Samba server a little, but hurt > the kernel client (inotify was more general IIRC than dnotify, but it has > been a while since I looked at the differences in detail). Â I remember > looking again at the CIFS and SMB2 protocol support for file/directory > change notification a few years ago, and inotify seemed doable, but that > inotify was a more complicated interface to code to. > > The protocol support for notify is in section 2.2.35 of MS-SMB2 > (there is a similar section in the SMB/CIFS reference) > see http://msdn.microsoft.com/en-us/library/cc246553(v=PROT.13).aspx > > > > -- > Thanks, > > Steve > -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html