2 ms·
Maybe I have skimmed too much, but I didn't see anything about the problems with using O_EXCL to resolve races over NFS. I believe (correct me if I am wrong) it
by asveikau 6y ago
Maybe I have skimmed too much, but I didn't see anything about the problems with using O_EXCL to resolve races over NFS. I believe (correct me if I am wrong) it doesn't work.
- cryptonector 6y agoNo, O_EXCL works on NFSv3 and NFSv4 just fine. NFSv4 is stateful and solves a number of problems that NFSv3 had.
- asveikau 6y agoGoogling around has this for Linux: http://nfs.sourceforge.net/#faq_d10 http://nfs.sourceforge.net/#faq_d10 Tldr: it used to not work. It was fixed in Linux in 2004. No idea about other unix-like OSs.