Re: posix-lock or not

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

 



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 <einar.gautun@xxxxxxxxxxx> 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                           einar.gautun@xxxxxxxxxxx
>
> 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
> Gluster-devel@xxxxxxxxxx
> 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


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

  Powered by Linux