Vincent Lefevre wrote in <[email protected]>: |On 2026-10-28 13:35:37 +0800, Kevin J. McCarthy wrote: |> Several distros have manually patched it out, and there are reports it |> doesn't work properly on AIX. |> |> This allows completely removing the dotlock. It checks to make sure |> that at least one locking mechanism is enabled though. | |Great! FYI, non-root build has been failing since at least 2002 on |my machines. I wrote a patch at that time to use the system dotlock, |then Tamotsu Takahashi wrote another one in 2005, which I was |maintaining until now. Anyway, fcntl is much better as dotlocking |alone doesn't prevent file corruption under NFS.
May i ask why? Under the precondition that every accessor uses it, of course? That "S.R. van den Berg" NFS trick is now at least 30 years old, as is NFSv3 which added "some doable support", and now that i look NFSv4 from 2003 added full support. And now that i look it seems fcntl() truly came with that very NFSv4. Or is this some intellectual "you need to think flipped" thing? You really mean "why at all now that NFSv4 has full fcntl support?", do you? --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)
