Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/nfs Use uvm_aio_biodone instead of uvm_aio_aiodone for t...



details:   https://anonhg.NetBSD.org/src/rev/38e77a3bd753
branches:  trunk
changeset: 501760:38e77a3bd753
user:      enami <enami%NetBSD.org@localhost>
date:      Sun Jan 07 05:54:41 2001 +0000

description:
Use uvm_aio_biodone instead of uvm_aio_aiodone for top-level buf
so that uvmexp.paging is updated if this i/o was initiated by
the pagedaemon.

diffstat:

 sys/nfs/nfs_bio.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 66a55fa93cb1 -r 38e77a3bd753 sys/nfs/nfs_bio.c
--- a/sys/nfs/nfs_bio.c Sun Jan 07 05:44:03 2001 +0000
+++ b/sys/nfs/nfs_bio.c Sun Jan 07 05:54:41 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nfs_bio.c,v 1.58 2000/12/27 05:15:43 chs Exp $ */
+/*     $NetBSD: nfs_bio.c,v 1.59 2001/01/07 05:54:41 enami Exp $       */
 
 /*
  * Copyright (c) 1989, 1993
@@ -1421,7 +1421,7 @@
        mbp->b_flags = B_BUSY|B_WRITE|B_AGE |
                (async ? B_CALL|B_ASYNC : 0) |
                (curproc == uvm.pagedaemon_proc ? B_PDAEMON : 0);
-       mbp->b_iodone = uvm_aio_aiodone;
+       mbp->b_iodone = uvm_aio_biodone;
        mbp->b_vp = vp;
        LIST_INIT(&mbp->b_dep);
 



Home | Main Index | Thread Index | Old Index