Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump/rumpvfs Use uvm_readahead.c instead of null...
details: https://anonhg.NetBSD.org/src/rev/b728bdc77c64
branches: trunk
changeset: 747972:b728bdc77c64
user: pooka <pooka%NetBSD.org@localhost>
date: Wed Oct 07 10:23:50 2009 +0000
description:
Use uvm_readahead.c instead of null stubs.
diffstat:
sys/rump/librump/rumpvfs/Makefile.rumpvfs | 4 ++--
sys/rump/librump/rumpvfs/vm_vfs.c | 26 ++------------------------
2 files changed, 4 insertions(+), 26 deletions(-)
diffs (65 lines):
diff -r 7c41eb90a9a8 -r b728bdc77c64 sys/rump/librump/rumpvfs/Makefile.rumpvfs
--- a/sys/rump/librump/rumpvfs/Makefile.rumpvfs Wed Oct 07 09:55:35 2009 +0000
+++ b/sys/rump/librump/rumpvfs/Makefile.rumpvfs Wed Oct 07 10:23:50 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.rumpvfs,v 1.15 2009/10/07 09:24:27 pooka Exp $
+# $NetBSD: Makefile.rumpvfs,v 1.16 2009/10/07 10:23:50 pooka Exp $
#
.include "${RUMPTOP}/Makefile.rump"
@@ -28,7 +28,7 @@
vfs_syscalls.c vfs_vnops.c vfs_wapbl.c vfs_xattr.c
# sys/uvm
-SRCS+= uvm_vnode.c
+SRCS+= uvm_readahead.c uvm_vnode.c
# sys/miscfs/syncfs
SRCS+= sync_subr.c sync_vnops.c
diff -r 7c41eb90a9a8 -r b728bdc77c64 sys/rump/librump/rumpvfs/vm_vfs.c
--- a/sys/rump/librump/rumpvfs/vm_vfs.c Wed Oct 07 09:55:35 2009 +0000
+++ b/sys/rump/librump/rumpvfs/vm_vfs.c Wed Oct 07 10:23:50 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vm_vfs.c,v 1.11 2009/10/05 09:11:29 pooka Exp $ */
+/* $NetBSD: vm_vfs.c,v 1.12 2009/10/07 10:23:50 pooka Exp $ */
/*
* Copyright (c) 2008 Antti Kantee. All Rights Reserved.
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm_vfs.c,v 1.11 2009/10/05 09:11:29 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_vfs.c,v 1.12 2009/10/07 10:23:50 pooka Exp $");
#include <sys/param.h>
@@ -79,28 +79,6 @@
uvm_aio_aiodone(bp);
}
-struct uvm_ractx *
-uvm_ra_allocctx(void)
-{
-
- return NULL;
-}
-
-void
-uvm_ra_request(struct uvm_ractx *ra, int advice, struct uvm_object *uobj,
- off_t reqoff, size_t reqsize)
-{
-
- return;
-}
-
-void
-uvm_ra_freectx(struct uvm_ractx *ra)
-{
-
- return;
-}
-
/*
* UBC
*/
Home |
Main Index |
Thread Index |
Old Index