[BUG] "No locks available" on NFS (RHEL3WS update 5)

Harald Meland harald.meland at usit.uio.no
Fri Sep 23 13:58:11 BST 2005


[John A Meinel]

> Aaron Bentley wrote:
>> Martin Pool wrote:
>>
>>>>On 16/09/05, Harald Meland <harald.meland at usit.uio.no> wrote:
>>>>
>>>>>As fcntl.lockf() is a wrapper around fcntl(2) with a superset of
>>>>>fcntl.flock()'s call syntax, and fcntl(2) locking *does* work over
>>>>>NFS, maybe bzr should use that instead?
>>>>
>>>>Does anyone object to changing this?
>>
>> Wasn't there a Windows compatibility issue with doing it that way?
>
> It certainly could be that fcntl doesn't exist on windows. However, we
> use native locking on windows anyway. Maybe at one point we used fcntl,
> but we don't anymore.

A fix for this issue can be found on this branch:

  http://folk.uio.no/hmeland/software/branches/bzr/smallstuff/

-- 
Harald




More information about the bazaar mailing list