summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1997-11-29 02:57:46 +0000
committerdyson <dyson@FreeBSD.org>1997-11-29 02:57:46 +0000
commitbdc807a3bba3fea4531ea1eed308c78d8446d0ec (patch)
tree477425dbd4be23e91037280ffbe76beea67ec9ed
parent6781e003d564b1396bfc29a0570740018cadaddc (diff)
downloadFreeBSD-src-bdc807a3bba3fea4531ea1eed308c78d8446d0ec.zip
FreeBSD-src-bdc807a3bba3fea4531ea1eed308c78d8446d0ec.tar.gz
Disable the VCHR optimization for AIO until I have implemented it. Just in
case anyone wants to play with the POSIX AIO/LIO stuff. (As it is, it should work with ANY vnode, on UP systems only, for now.)
-rw-r--r--sys/kern/vfs_aio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c
index b020551..bbd08cb 100644
--- a/sys/kern/vfs_aio.c
+++ b/sys/kern/vfs_aio.c
@@ -13,7 +13,7 @@
* bad that happens because of using this software isn't the responsibility
* of the author. This software is distributed AS-IS.
*
- * $Id: vfs_aio.c,v 1.11 1997/11/18 10:02:40 bde Exp $
+ * $Id: vfs_aio.c,v 1.12 1997/11/29 01:33:07 dyson Exp $
*/
/*
@@ -877,6 +877,7 @@ aio_qphysio(p, iocb)
dev_t dev;
int rw;
d_strategy_t *fstrategy;
+ return -1;
cb = &iocb->uaiocb;
if (cb->aio_nbytes > MAXPHYS)
OpenPOWER on IntegriCloud