gluster-devel
[Top][All Lists]
Advanced

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

Re: [Gluster-devel] posix-lock or not


From: Anand Avati
Subject: Re: [Gluster-devel] posix-lock or not
Date: Fri, 14 Sep 2007 15:23:14 +0530

Hans,
 you have probably tried locking from the same client. posix-locks xlator
will make a difference when accessing that file and locking from different
client machines.

avati

On 9/14/07, Hans Einar Gautun <address@hidden> wrote:
>
> Hi all,
>
> I've been playing with posix-locks. Setup is single server and client on
> the same host. Filesystem is xfs. I've used the simple testlock.pl
> provided earlier from Kevan Benson.
> Scenarios:
> With posix-locks loaded, but mandatory and advisory off
> With posix-locks loaded, but mandatory and advisory on
> Without loading posix-locks
> On another local disk, xfs filesystem
> I've started the script, (adjusted it to lock the file for 10 seconds)
> and started it once again before the first run is finished.
>
> Result is the same for all scenarios.
>
> Possible conclusion: On xfs I don't need to load posix-locks. Am I
> right?
>
> Thanks,
>
> --
> Einar Gautun                           address@hidden
>
> Statens kartverk            | Norwegian Mapping Authority
> 3507 Hønefoss               |    NO-3507 Hønefoss, Norway
>
> Ph +47 32118372   Fax +47 32118101       Mob +47 92692662
>
>
> _______________________________________________
> Gluster-devel mailing list
> address@hidden
> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]