Re: Gluster vs NFS export sync

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2014-07-10 at 21:02 -0400, James wrote: 
> On Thu, Jul 10, 2014 at 8:40 PM, Franco Broi <franco.broi@xxxxxxxxxx> wrote:
> > Is there any way to make Gluster emulate the behaviour of a NFS
> > filesystem exported with the sync option? By that I mean is it possible
> > to write a file from one client and guarantee that the data will be
> > instantly available on close to all other clients?
> 
> 
> Gluster native writes are already synchronous.

On my Gluster system if I open, write, fsync and close a file from one
client and very soon after try to open the file on another client, the
data written by the first client may or may not be there. This is the
same behaviour as for NFS disks exported async and is not unexpected.

If I repeat the test on NFS disks exported sync, the second node always
immediately sees the data written by the first. The problem is, I have a
an application which depends on this behaviour.


_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users




[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux