posix-lock or not

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

 



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




[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