[OpenAFS] File locking in AFS

Thom Cherryhomes thomasc@apogeemm.com
Wed, 19 Sep 2001 12:54:40 -0500


Craig_Everhart@transarc.com wrote:

>Excerpts from mail: 19-Sep-01 RE: [OpenAFS] File locking .. "Karthik,
>R"@digital.com (1436*)
>
>>>>>The way locking works is strictly advisory: possession of locks is
>>>>>independent of whether I/O may be done on the file.
>>>>>
>
>>Does this mean a file can be written to even if a client has a read-lock on
>>the file? Please clarify.
>>
>
>
>Yes.  This is Unix semantics, not just AFS.
>_______________________________________________
>OpenAFS-info mailing list
>OpenAFS-info@openafs.org
>https://lists.openafs.org/mailman/listinfo/openafs-info
>

This seems a bit nutty not to have byte-range locking.. I've seen it 
screw up things on the M$ side (ever try to run an old MS-DOS Btrieve 
application over AFS? not pretty...) Is AFS over going to support 
locking only parts of files?

-Thom Cherryhomes
OpenMINDS.TV