[Gluster-devel] distributed locking

Krishna Srinivas krishna at zresearch.com
Wed Dec 5 10:53:40 UTC 2007


Hi Székelyi,

As a temporary workaround can you make all the clients use the same afr
translator and see if it works? i.e in client spec you need to specify the
same server for all the clients (instead of localhost) and afr should be on
the server side.

Thanks
Krishna

On Dec 4, 2007 12:41 PM, Anand Avati <avati at zresearch.com> wrote:
> Hi,
>  we are working on this report. will keep the ML updated about it.
>
> thanks,
> avati
>
> 2007/12/1, Székelyi Szabolcs <cc at avaxio.hu>:
>
> >
> > Brian Taber wrote:
> > > The Gluster mounts had no problem:
> > >
> > > TEST : TRY TO WRITE ON A READ
> > >
> > LOCK:.==================================================================================================.==
> > > TEST : TRY TO WRITE ON A WRITE
> > >
> > LOCK:====================================================================================================
> > > TEST : TRY TO READ  ON A READ
> > >
> > LOCK:====================================================================================================
> > > TEST : TRY TO READ  ON A WRITE
> > >
> > LOCK:====================================================================================================
> > > TEST : TRY TO SET A READ  LOCK ON A READ
> > >
> > LOCK:====================================================================================================
> > > TEST : TRY TO SET A WRITE LOCK ON A WRITE
> > >
> > LOCK:====================================================================================================
> > > TEST : TRY TO SET A WRITE LOCK ON A READ
> > >
> > LOCK:====================================================================================================
> > > TEST : TRY TO SET A READ  LOCK ON A WRITE
> > >
> > LOCK:====================================================================================================
> > > TEST : TRY TO READ LOCK THE WHOLE FILE BYTE BY
> > >
> > BYTE:====================================================================================================
> > > TEST : TRY TO WRITE LOCK THE WHOLE FILE BYTE BY
> > >
> > BYTE:====================================================================================================
> > >
> > > process number : 100 - Remote clients: 2 local client 1 - Total client 3
> > -
> > > Total concurent tests: 300
> > > process number running test successfully :
> > > 300 process of 300 successfully ran test : WRITE ON A READ  LOCK
> > > 300 process of 300 successfully ran test : WRITE ON A WRITE LOCK
> > > 300 process of 300 successfully ran test : READ  ON A READ  LOCK
> > > 300 process of 300 successfully ran test : READ  ON A WRITE LOCK
> > > 300 process of 300 successfully ran test : SET A READ  LOCK ON A
> > READ  LOCK
> > > 0 process of 300 successfully ran test : SET A WRITE LOCK ON A WRITE
> > LOCK
> > > 0 process of 300 successfully ran test : SET A WRITE LOCK ON A
> > READ  LOCK
> > > 0 process of 300 successfully ran test : SET A READ  LOCK ON A WRITE
> > LOCK
> > > 300 process of 300 successfully ran test : READ LOCK THE WHOLE FILE BYTE
> > > BY BYTE
> > > 300 process of 300 successfully ran test : WRITE LOCK THE WHOLE FILE
> > BYTE
> > > BY BYTE
> >
> > Well, I wouldn't say that the 'SET A WRITE LOCK ON A WRITE LOCK' test
> > was successful, for example... An '=' printed means that the lock call
> > completed successfully, but it doesn't mean that the result is correct.
> > Some calls *should* fail. In particular, the 'SET A WRITE LOCK ON A
> > WRITE LOCK' test should print 'x's. In this case, the result means that
> > all clients could successfully lock a file... that was already locked!
> >
> > --
> > cc
> >
> >
> >
> > _______________________________________________
> > Gluster-devel mailing list
> > Gluster-devel at nongnu.org
> > http://lists.nongnu.org/mailman/listinfo/gluster-devel
> >
>
>
>
> --
> It always takes longer than you expect, even when you take into account
> Hofstadter's Law.
>
> -- Hofstadter's Law
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>





More information about the Gluster-devel mailing list