Subject: Re: CVS commit: syssrc
To: Lennart Augustsson <augustss@netbsd.org>
From: Chuck Silvers <chuq@chuq.com>
List: source-changes
Date: 02/05/2001 01:47:17
I've updated the log message to have some more info:
Fix from chuq:
don't update UVM's notion of the file size before the VOP_FSYNC() when
we're partially truncating a file with softdeps enabled. doing so could
free pages without updating the dependency info, which would result in
"panic: softdep_write_inodeblock: direct pointer #1 mismatch 0 != N".
-Chuck
On Sat, Jan 27, 2001 at 06:23:23AM +0200, Lennart Augustsson wrote:
>
> Module Name: syssrc
> Committed By: augustss
> Date: Sat Jan 27 04:23:22 UTC 2001
>
> Modified Files:
> syssrc/sys/ufs/ffs: ffs_inode.c
>
> Log Message:
> Apply a patch I got from Chuck Silvers that fixes a problem with softdep
> that made my machine crash over and over. Since Chuq is in India and I've
> been using the patch for over a week without problem I'll just commit it.
>
>
> To generate a diff of this commit:
> cvs rdiff -r1.39 -r1.40 syssrc/sys/ufs/ffs/ffs_inode.c
>
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.