On Apr 23, 2019, at 11:16, Faaland, Olaf P. <faala...@llnl.gov> wrote: > > Hi, > >> Does inotify work on Lustre and if so, are there any caveats (performance, >> functionality, or otherwise)?
AFAIK, inotify does *not* work correctly on Lustre, because it is purely a local VFS mechanism. That means it _might_ work for a small number of files that are accessed/cached locally on the client, but definitely the client would not be notified of changes that are happening on other clients. Hooking inotify into the Lustre Changelog mechanism might be possible, so that _select_ clients which need full inotify functionality could be added as changelog consumers, and Changelog records would be mapped to inotify events, but I think there would be a very significant overhead if a large number of clients were all trying to be notified of every even in the whole filesystem... Cheers, Andreas -- Andreas Dilger Principal Lustre Architect Whamcloud _______________________________________________ lustre-discuss mailing list lustre-discuss@lists.lustre.org http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org