On Wed, Feb 10, 2010 at 12:48 AM, Fredrik Widlund <fredrik.widlund@xxxxxxxxxx> wrote: > > Hi, > > > > I’ll try to make myself clearer than in the earlier thread, since I need > some help here. I’m not sure if I am missing something. > > > > I am not able to use atomic operations using glusterfs 3.0.2, on a Arch > Linux 2.6.32.7-1 x86_64 server. > > > > I’ve stripped everything down to the most simple configuration > > Server: a posix store with locks > > Client: a tcp client > > > > I mount the glusterfs on /gfs, and use a “writer” and a “reader” as below: > > [writer] root@frustration> while :; do date > /gfs/.file; mv > /gfs/.file /gfs/file; done > > [reader] root@frustration> while :; do cat /gfs/file > > /dev/null; done > > > > Leaving this running, I get a flood of > > cat: /gfs/file: No such file or directory > > > > This should not happen on a filesystem that supports atomic operations?! Please try turning off FUSE entry caching by passing --entry-timeout=0 to your mount command on the client side and let us know what difference that makes. Thanks, Avati