[lustre-discuss] inotify

Andreas Dilger adilger at whamcloud.com
Mon May 6 12:50:38 PDT 2019

On Apr 23, 2019, at 11:16, Faaland, Olaf P. <faaland1 at 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

Cheers, Andreas
Andreas Dilger
Principal Lustre Architect

More information about the lustre-discuss mailing list