Subject: PR/36150 CVS commit: src/sys
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Chuck Silvers <chs@netbsd.org>
List: netbsd-bugs
Date: 04/16/2007 05:15:05
The following reply was made to PR kern/36150; it has been noted by GNATS.
From: Chuck Silvers <chs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/36150 CVS commit: src/sys
Date: Mon, 16 Apr 2007 05:14:54 +0000 (UTC)
Module Name: src
Committed By: chs
Date: Mon Apr 16 05:14:54 UTC 2007
Modified Files:
src/sys/fs/union: union_vnops.c
src/sys/kern: vfs_subr.c
src/sys/miscfs/genfs: layer_vnops.c
src/sys/uvm: uvm_pager.h
Log Message:
define a pager flag PGO_RECLAIM, similar to FSYNC_RECLAIM, and use it
to skip unnecessary flushing when layered file system vnodes are recycled.
this also prevents a deadlock with the dodgy LFS putpages routine.
fixes the non-LFS part of PR 36150.
To generate a diff of this commit:
cvs rdiff -r1.19 -r1.20 src/sys/fs/union/union_vnops.c
cvs rdiff -r1.286 -r1.287 src/sys/kern/vfs_subr.c
cvs rdiff -r1.29 -r1.30 src/sys/miscfs/genfs/layer_vnops.c
cvs rdiff -r1.34 -r1.35 src/sys/uvm/uvm_pager.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.