Subject: CVS commit: [yamt-readahead] src/sys
To: None <>
From: YAMAMOTO Takashi <>
List: source-changes
Date: 11/19/2005 17:37:00
Module Name:	src
Committed By:	yamt
Date:		Sat Nov 19 17:37:00 UTC 2005

Modified Files:
	src/sys/fs/adosfs [yamt-readahead]: advnops.c
	src/sys/fs/cd9660 [yamt-readahead]: cd9660_vnops.c
	src/sys/fs/filecorefs [yamt-readahead]: filecore_vnops.c
	src/sys/fs/msdosfs [yamt-readahead]: msdosfs_vnops.c
	src/sys/fs/tmpfs [yamt-readahead]: tmpfs_vnops.c
	src/sys/nfs [yamt-readahead]: nfs_bio.c
	src/sys/ufs/ext2fs [yamt-readahead]: ext2fs_readwrite.c
	src/sys/ufs/ufs [yamt-readahead]: ufs_readwrite.c
	src/sys/uvm [yamt-readahead]: uvm_bio.c uvm_extern.h uvm_readahead.c

Log Message:
- as read-ahead context is per-vnode now,
  there are less reasons to make VOP_READ call uvm_ra_request explicitly.
  move it to pager (uvn_get) so that it can handle accesses via mmap as well.
- pass advice to pager via ubc.
- tweak DPRINTF.

XXX can be disturbed by PGO_LOCKED.

XXX it's controversial where it should be done.
(uvm_fault, uvn_get or genfs_getpages.)

To generate a diff of this commit:
cvs rdiff -r1.16.2.2 -r1.16.2.3 src/sys/fs/adosfs/advnops.c
cvs rdiff -r1.17.2.3 -r1.17.2.4 src/sys/fs/cd9660/cd9660_vnops.c
cvs rdiff -r1.14.2.2 -r1.14.2.3 src/sys/fs/filecorefs/filecore_vnops.c
cvs rdiff -r1.22.2.2 -r1.22.2.3 src/sys/fs/msdosfs/msdosfs_vnops.c
cvs rdiff -r1.17 -r1.17.4.1 src/sys/fs/tmpfs/tmpfs_vnops.c
cvs rdiff -r1.137.2.2 -r1.137.2.3 src/sys/nfs/nfs_bio.c
cvs rdiff -r1.38.2.4 -r1.38.2.5 src/sys/ufs/ext2fs/ext2fs_readwrite.c
cvs rdiff -r1.64.2.2 -r1.64.2.3 src/sys/ufs/ufs/ufs_readwrite.c
cvs rdiff -r1.41 -r1.41.6.1 src/sys/uvm/uvm_bio.c
cvs rdiff -r1.106.6.1 -r1.106.6.2 src/sys/uvm/uvm_extern.h
cvs rdiff -r1.1.2.10 -r1.1.2.11 src/sys/uvm/uvm_readahead.c
cvs rdiff -r1.66 -r1.66.8.1 src/sys/uvm/uvm_vnode.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.