Subject: Re: lfs
To: Sean Davis <dive@endersgame.net>
From: Konrad Schroder <perseant@hhhh.org>
List: tech-kern
Date: 02/27/2003 10:10:03
On Wed, Feb 26, 2003 at 04:32:07PM -0500, Thor Lancelot Simon wrote:

> Clearly the underlying problems here should be fixed, but in the interim,
> how about simply reserving some more space so that even root can't write
> into it?  It seems to me that max(5%, segsz * 10) should suffice to avoid
> the kind of deadlock that gets us into this mess...

Yes, we could do that.  My guess is that it would have to be more like
20%, though.  Lowering lfs_bfree or raising lfs_minfreeseg should have
this effect, though when I tried the former yesterday it uncovered another
bug in the error case of lfs_truncate.

On Wed, 26 Feb 2003, Sean Davis wrote:

> I get a panic dumping a > 2GB filesystem to an LFS volume, maybe these
> two cases are related? The panic doesn't happen until the amount of data
> dumped (watched by running ls -l on the dump file over and over)
> approaches 2GB..

Completely unrelated :^)  This was a 32-bit arithmetic problem that I
found and fixed last night.
						Konrad Schroder
						perseant@hhhh.org