summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_aio.c
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1997-11-30 21:47:36 +0000
committerdyson <dyson@FreeBSD.org>1997-11-30 21:47:36 +0000
commitf2ef972c8cf26caf2614b7955342a22c50d1d3ba (patch)
tree5d44e2b736e3f65cd2cff791c3a1935d56b45853 /sys/kern/vfs_aio.c
parente3e30a5048ac9bc76443c15983485bc4edef418c (diff)
downloadFreeBSD-src-f2ef972c8cf26caf2614b7955342a22c50d1d3ba.zip
FreeBSD-src-f2ef972c8cf26caf2614b7955342a22c50d1d3ba.tar.gz
Fix an spl nit.
Diffstat (limited to 'sys/kern/vfs_aio.c')
-rw-r--r--sys/kern/vfs_aio.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c
index c1f619a..c52d970 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.13 1997/11/29 02:57:46 dyson Exp $
+ * $Id: vfs_aio.c,v 1.14 1997/11/30 04:36:31 dyson Exp $
*/
/*
@@ -467,6 +467,11 @@ restart2:
goto restart2;
}
+/*
+ * Note the use of lots of splbio here, trying to avoid
+ * splbio for long chains of I/O. Probably unnecessary.
+ */
+
restart3:
s = splbio();
while (TAILQ_FIRST(&ki->kaio_bufqueue)) {
@@ -475,6 +480,7 @@ restart3:
splx(s);
goto restart3;
}
+ splx(s);
restart4:
s = splbio();
OpenPOWER on IntegriCloud