NetBSD Problem Report #26054

Received: (qmail 24650 invoked by uid 605); 25 Jun 2004 10:12:24 -0000
Message-Id: <1088158337.243619.1131.nullmailer@yamt.dyndns.org>
Date: Fri, 25 Jun 2004 19:12:17 +0900
From: yamt@mwd.biglobe.ne.jp
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: yamt@mwd.biglobe.ne.jp
To: gnats-bugs@gnats.netbsd.org
Subject: nfsv3 client write out a page multiple times
X-Send-Pr-Version: 3.95

>Number:         26054
>Category:       kern
>Synopsis:       nfsv3 client write out a page multiple times
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 25 10:13:00 +0000 2004
>Closed-Date:    
>Last-Modified:  
>Originator:     YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
>Release:        NetBSD 2.0F
>Organization:

>Environment:


System: NetBSD kaeru 2.0F NetBSD 2.0F (build.kaeru) #1435: Fri Jun 25 16:26:41 JST 2004 takashi@kaeru:/home/takashi/work/kernel/build.kaeru i386
Architecture: i386
Machine: i386
>Description:
	sometimes our nfsv3 client issue multiple write rpcs for a dirty page.
	it happens because genfs_putpages() cluster pages without any
	knowledge about NEEDCOMMIT and nfs_doio_write() issue a write rpc for
	given pages unless all of them is marked as PG_NEEDCOMMIT.
>How-To-Repeat:
	code inspection.
>Fix:
	one of the followings.  IMO, the latter is better.
	- nfs_doio_write, issue a write rpc only for unpushed pages.
	- don't put pushed pages and unpushed pages into a cluster together.

>Release-Note:
>Audit-Trail:
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.