On Mon, May 10, 2021 at 11:34 PM Amir Goldstein <amir73il@xxxxxxxxx> wrote: > > On Tue, May 11, 2021 at 2:36 AM Steve French <smfrench@xxxxxxxxx> wrote: > > > > With the recent changes to fanotify (e.g. > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7cea2a3c505e) > > Not sure how this is related to remote fs notifications. > > > has there been any additional discussion of what it would take to > > allow fanotify to be supported for network/cluster fs (all major > > It would take someone to pick up this RFC that was already posted > 2 years ago: > https://lore.kernel.org/linux-fsdevel/20190507085707.GD30899@xxxxxxxxxxxxxxxxxxxxxxxxxx/ > https://lore.kernel.org/linux-fsdevel/CAOQ4uxipauh1UXHSFt=WsiaDexqecjm4eDkVfnQXN8eYofdg2A@xxxxxxxxxxxxxx/ > > > dialects supported by cifs.ko support sending notify requests to the > > server - but there is no way for cifs.ko to be told which notify > > requests to send as fanotify/inotify are local only in current Linux - > > unlike other OS where notify is primarily for network fs and passed > > down to the fs) > > > > If you wait long enough, I'll get to implementing this for FUSE some day... > But there is *really* nothing blocking cifs developers from implementing this > and writing the specialized tests. I can help with guidance. It's on my TODO list but I am dealing with some multichannel bugs at the moment... but would be great if someone had run into the same thing and fixed it. If not I will revisit the question of how to do this -- Thanks, Steve