[OpenAFS] Re: Possible cache corruption with linux client and 1.6.1
fileserver
Andrew Deason
adeason@sinenomine.net
Tue, 13 Nov 2012 10:37:25 -0600
On Tue, 13 Nov 2012 11:26:33 -0500 (EST)
Richard Brittain <Richard.Brittain@dartmouth.edu> wrote:
> > - Occasionally the short file results in corrupt blocks in cache,
> > which the local client thinks are good, and when the complete file
> > is available, the checksum is wrong. Running 'cmp' between the bad
> > file and a copy of the original shows a similar number of changed
> > bytes (~4k) regardless of size of file.
>
> More testing shows that every time I create this scenario, it is the
> first 4kB of the file that has been replaced by nulls. The initial
> test was confusing because some of my test files contain nulls.
This sounds like it would be fixed by:
<http://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=f899af247cba9fd9993e89040bff7157fc10de87>
Would you be able to try again with that patch?
--
Andrew Deason
adeason@sinenomine.net