[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gluster-devel] atomic operations fails_
From: |
Anand Avati |
Subject: |
Re: [Gluster-devel] atomic operations fails_ |
Date: |
Wed, 10 Feb 2010 09:29:45 +0530 |
On Wed, Feb 10, 2010 at 12:48 AM, Fredrik Widlund
<address@hidden> 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] address@hidden> while :; do date > /gfs/.file; mv
> /gfs/.file /gfs/file; done
>
> [reader] address@hidden> 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