[1642] in SIPB_Linux_Development
Ted's patch to fix cache corruption
daemon@ATHENA.MIT.EDU (Erik Nygren)
Sat Apr 5 00:43:21 1997
To: linux-dev@MIT.EDU, linux-afs-bugs@MIT.EDU
Date: Sat, 05 Apr 1997 00:42:02 EST
From: Erik Nygren <nygren@MIT.EDU>
Well, I guess the problem with Ted's patch was my fault.
(That's not saying there aren't other problems, just that
the problems I reported earlier wre my fault). I had
upgraded the afs rpm with -Uvh which removed the /usr/vice
symlink and made the AFS cache be on the root partition
(which was mostly full). This had caused cache corruption
due to the cache partition filling. (Is there is any
way to detect this situation and either warn the user or
fail or simply panic? Corrupting files with the cache
partition fills is poor.)
Anyways, I'm trying Ted's patch again, this time with
the cache on its own partition. I'll let you
know if I have any luck or problems. (But considering
that I haven't been able to produce the problem
in the first place on an older 2.0.x kernel, I'm
not sure I'll have any better luck here).
Other people should also try Ted's patch against 2.0.29
to see if you get any cache corruption. You might
considr putting in some printk's to log when thye old
kernel would have failed but where the new one does better
(just to see how often the situation happens).
Erik