[9090] in Athena Bugs

home help back first fref pref prev next nref lref last post

AFS file consistency

daemon@ATHENA.MIT.EDU (John Carr)
Sun Mar 15 16:44:35 1992

To: bugs@Athena.MIT.EDU, bug-afs@Athena.MIT.EDU
Date: Sun, 15 Mar 92 16:44:22 EST
From: John Carr <jfc@Athena.MIT.EDU>


If I load a file from AFS on workstation B while it is being stored
from workstation A I sometimes get a file full of NULs.  In my emacs
buffer now I have a file in which the first 57344 (8K x 7) characters
are replaced by NUL.  The chunk size on the workstation that wrote the
file is 8K.  The file did not exist before I wrote to it.  Rereading
the file with ^X^V gets correct data, but I shouldn't have gotten a
half written file.  Maybe it would help to have the writing client or
the server exclusive lock the file while it is being written?



home help back first fref pref prev next nref lref last post