Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Sep 1998 22:42:37 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        rvb@cs.cmu.edu (Robert V. Baron)
Cc:        tlambert@primenet.com, current@FreeBSD.ORG, dyson@iquest.net
Subject:   Re: VM question Re m->valid ...
Message-ID:  <199809282242.PAA09725@usr04.primenet.com>
In-Reply-To: <yzsn27k9twq.fsf@sicily.odyssey.cs.cmu.edu> from "Robert V. Baron" at Sep 28, 98 10:46:45 am

next in thread | previous in thread | raw e-mail | index | archive | help
> The change mentioned below does not solve my problem.  I have
> two ways to go.  I'd like feed back and will commit something
> later today.  

I thought it might not; I think the result of the bug is only
to orphan pages and force them to be needlessly reread.

> There are two ways to go.  One is to have vnode_pager_input_old
> set m->valid iff there are no errors.  This works fine for me.

This is the correct fix.  The page is not supposed to be valid
unless it is valid.  8-).

This may not be happening as a side effect of needing cleanup.
You might need to avoid clearing PG_ZERO in the error case,
as well... ?


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809282242.PAA09725>