fcntl F_SETLKW on NFS
I apologize in advance if this is the incorrect forum on this site to post this. I am looking for answers on fcntl in a 2.6 kernel, or really anywhere. We have a piece of proprietary software which spawns many child processes, each attempting to get a F_SETLKW on the same file. From what I understand, if the previous child process has not passed F_SETLKW type=F_UNLCK the next child process will sleep and retry. My question involves this sleep time, and whether there is a system control variable or some other way to lower it. It seems to be 30 seconds for now, and I'd like it to be less than that.
I will mention that we only see that it has to wait when running on a file located on an NFS mount.
Thanks in advance for any insight.