[1646] in SIPB_Linux_Development

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

Re: Ted's patch to fix cache corruption

daemon@ATHENA.MIT.EDU (Aaron M. Ucko)
Sun Apr 6 13:47:28 1997

To: Derek Atkins <warlord@MIT.EDU>
Cc: Erik Nygren <nygren@MIT.EDU>, linux-dev@MIT.EDU, linux-afs-bugs@MIT.EDU
From: amu@MIT.EDU (Aaron M. Ucko)
Date: 06 Apr 1997 13:47:05 -0400
In-Reply-To: Derek Atkins's message of 06 Apr 1997 11:23:14 -0400

Derek Atkins <warlord@MIT.EDU> writes:

> It's just AFS's design to fail...  It expects the space you tell it it
> has to actually be there.  By the time it finds out there isn't any
> more space, its too late for the kernel to do anything.  I guess I
> could have the kernel panic in this case instead of corrupting files,
> but I'm not convinced that would be a better solution.

Here's an idea: instead of panicking or corrupting files, the AFS code
should print an error message and set a flag causing all AFS
operations to fail cleanly.  Then nothing is corrupted and people can
save their buffers to some other filesystem.

-- 
Aaron M. Ucko (amu@mit.edu) | For Geek Code, PGP public key, and other info,
finger amu@monk.mit.edu. | "Kids! Bringing about Armageddon can be dangerous.
Do not attempt it in your home." -- T. Pratchett & N. Gaiman, _Good Omens_

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