Discussion:
[ast-developers] syncfs() patch for sync(1)
Lionel Cons
2013-08-13 20:06:43 UTC
Permalink
Glenn, are you going to put the syncfs() patch for sync(1) into the next alpha?

We figured that this helps circumventing NFS problems with attribute
caching in a directory, i.e. command exec {n}<$PWD/dirtobesynced; sync
-S $n flushes changed file attributes to the server. This fixes a
problem when write() to a file has not yet reached the server or the
application has changed file attributes (atime).

Lionel
Lionel Cons
2013-08-28 14:33:02 UTC
Permalink
Post by Lionel Cons
Glenn, are you going to put the syncfs() patch for sync(1) into the next alpha?
We figured that this helps circumventing NFS problems with attribute
caching in a directory, i.e. command exec {n}<$PWD/dirtobesynced; sync
-S $n flushes changed file attributes to the server. This fixes a
problem when write() to a file has not yet reached the server or the
application has changed file attributes (atime).
Glenn?

Lionel

Loading...