[OpenAFS] File locking

Jayme Cox jayme@reality.net
Mon, 6 Jan 2003 16:54:17 -0800


I have a question about file locking:

We have 15 or so openAFS clients (mix of linux and windows) mounting an
AFS drive over the internet. An application writes a file to the openAFS
server from client #1 and another application begins to read that same
file on client #2 microseconds later.
What version of the file will client #2 read?

I guess my question boils down to: 
Does client #2 ask the server if the file is being written (changed)
every time it does a read? Or does it only ask when it's gotten a 'this
file has been modified notification'?

Thanks!

--Jayme

--
Jayme Cox
Sr Unix Sys Admin
Kabira Technologies
One McInnis Parkway
San Rafael, Ca 94903
(415) 446-5041