summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2008-07-23 16:24:44 +0000
committerBob Beck <beck@cvs.openbsd.org>2008-07-23 16:24:44 +0000
commit23e70fc50082547972f5818951c8059631e3dcd4 (patch)
tree9b67c0056c4c4fa54580f878d631585702c0dc01 /share/man
parente77c07a231c41171438be828e97f655a4996f8b8 (diff)
Correct cases of mishandling of pending reads and writes to prevent
them going negative - this consists of identifying a number of cases of IO not going through the buffer cache and marking those buffers with B_RAW - as well as fixing nfs_bio to show pending writes and reads through the buffer cache via NFS still has a problem with mishandling the counters I believe in the async/sync fallback case where counters stay positive which will be addressed seperately. ok tedu@ deraadt@
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man9/buffercache.911
1 files changed, 8 insertions, 3 deletions
diff --git a/share/man/man9/buffercache.9 b/share/man/man9/buffercache.9
index dc6d02ec441..6b855defed8 100644
--- a/share/man/man9/buffercache.9
+++ b/share/man/man9/buffercache.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: buffercache.9,v 1.5 2007/05/31 19:20:00 jmc Exp $
+.\" $OpenBSD: buffercache.9,v 1.6 2008/07/23 16:24:43 beck Exp $
.\" $NetBSD: buffercache.9,v 1.13 2004/06/25 15:31:37 wiz Exp $
.\"
.\" Copyright (c)2003 YAMAMOTO Takashi,
@@ -102,7 +102,7 @@
.\"
.\"
.\" ------------------------------------------------------------
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: July 23 2008 $
.Dt BUFFERCACHE 9
.Os
.Sh NAME
@@ -327,7 +327,12 @@ Otherwise, wake up the waiting processes.
.\" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
.It Fn biowait "bp"
Wait for operations on the buffer to complete.
-When they do, extract and return the I/O's error value.
+When they do, extract and return the I/O's error value.
+If the operation on the buffer is being done via a direct call to a
+.Fn strategy
+type function, then the buffer must be previously initialized with the
+.Dv B_RAW
+flag.
.El
.\" ------------------------------------------------------------
.Sh CODE REFERENCES