I have a trouble with NFS client-side attribute caching. I\'m using some servers, one is an NFS server and the others are NFS client servers.
All servers are Debian(lenn
Within a given process, calling opendir and closedir on the parent directory of a file invalidates the NFS cache. I used this while programming a job scheduler. Very, very helpful. Try it!
This is the line number of the relevant code (showing the use in context): https://github.com/earonesty/grun/blob/master/grun#L820
It was the only way I could fix the issue of job #1 completing and job #2, which needed some output files, firing off in a context where those files were visible,