diff options
author | dillon <dillon@FreeBSD.org> | 1999-09-21 00:36:16 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1999-09-21 00:36:16 +0000 |
commit | 493548f6b6985e3d85897ff165ec2bd84bdd0733 (patch) | |
tree | c5eb5130353838aadb51263e5d32a1ac0c0f89f2 /sys/kern/vfs_export.c | |
parent | 3bddba795147da5c018578644f1757f6e636baf5 (diff) | |
download | FreeBSD-src-493548f6b6985e3d85897ff165ec2bd84bdd0733.zip FreeBSD-src-493548f6b6985e3d85897ff165ec2bd84bdd0733.tar.gz |
Final commit to remove vnode->v_lastr. vm_fault now handles read
clustering issues (replacing code that used to be in
ufs/ufs/ufs_readwrite.c). vm_fault also now uses the new VM page counter
inlines.
This completes the changeover from vnode->v_lastr to vm_entry_t->v_lastr
for VM, and fp->f_nextread and fp->f_seqcount (which have been in the
tree for a while). Determination of the I/O strategy (sequential, random,
and so forth) is now handled on a descriptor-by-descriptor basis for
base I/O calls, and on a memory-region-by-memory-region and
process-by-process basis for VM faults.
Reviewed by: David Greenman <dg@root.com>, Alan Cox <alc@cs.rice.edu>
Diffstat (limited to 'sys/kern/vfs_export.c')
-rw-r--r-- | sys/kern/vfs_export.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c index 43f4be3..5b92ad0 100644 --- a/sys/kern/vfs_export.c +++ b/sys/kern/vfs_export.c @@ -566,7 +566,6 @@ getnewvnode(tag, mp, vops, vpp) } #endif vp->v_flag = 0; - vp->v_lastr = 0; vp->v_lastw = 0; vp->v_lasta = 0; vp->v_cstart = 0; |