Subject: kern/26054: nfsv3 client write out a page multiple times
To: None <gnats-bugs@gnats.netbsd.org>
From: None <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 06/25/2004 19:12:17
>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 UTC 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: