Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/miscfs/genfs use B_ASYNC for children of nested buffers ...
details: https://anonhg.NetBSD.org/src/rev/94ef0c5d334e
branches: trunk
changeset: 538670:94ef0c5d334e
user: yamt <yamt%NetBSD.org@localhost>
date: Fri Oct 25 05:44:41 2002 +0000
description:
use B_ASYNC for children of nested buffers in genfs_getpages.
ok'ed by Chuck Silvers.
diffstat:
sys/miscfs/genfs/genfs_vnops.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 35525120c02a -r 94ef0c5d334e sys/miscfs/genfs/genfs_vnops.c
--- a/sys/miscfs/genfs/genfs_vnops.c Fri Oct 25 03:14:37 2002 +0000
+++ b/sys/miscfs/genfs/genfs_vnops.c Fri Oct 25 05:44:41 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: genfs_vnops.c,v 1.66 2002/10/23 09:14:36 jdolecek Exp $ */
+/* $NetBSD: genfs_vnops.c,v 1.67 2002/10/25 05:44:41 yamt Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfs_vnops.c,v 1.66 2002/10/23 09:14:36 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfs_vnops.c,v 1.67 2002/10/25 05:44:41 yamt Exp $");
#include "opt_nfsserver.h"
@@ -784,7 +784,7 @@
splx(s);
bp->b_data = (char *)kva + offset - startoffset;
bp->b_resid = bp->b_bcount = iobytes;
- bp->b_flags = B_BUSY|B_READ|B_CALL;
+ bp->b_flags = B_BUSY|B_READ|B_CALL|B_ASYNC;
bp->b_iodone = uvm_aio_biodone1;
bp->b_vp = vp;
bp->b_proc = NULL;
Home |
Main Index |
Thread Index |
Old Index