aboutsummaryrefslogtreecommitdiff
path: root/share/man/man9/VOP_RDWR.9
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>1999-12-13 02:28:53 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>1999-12-13 02:28:53 +0000
commit1e12157c61b09924aecf94545a1e94be772e803d (patch)
treee42255eefbe7a86c59120c6a008b22f0d790a871 /share/man/man9/VOP_RDWR.9
parentc0230c1b3d332536703c3c2dd27a1096d3c8fe2d (diff)
downloadsrc-1e12157c61b09924aecf94545a1e94be772e803d.tar.gz
src-1e12157c61b09924aecf94545a1e94be772e803d.zip
explain that ioflags can be used to give read-ahead hints to the underlying
filesystem.
Notes
Notes: svn path=/head/; revision=54533
Diffstat (limited to 'share/man/man9/VOP_RDWR.9')
-rw-r--r--share/man/man9/VOP_RDWR.96
1 files changed, 5 insertions, 1 deletions
diff --git a/share/man/man9/VOP_RDWR.9 b/share/man/man9/VOP_RDWR.9
index 5e67262da0c7..a1e28fd72d63 100644
--- a/share/man/man9/VOP_RDWR.9
+++ b/share/man/man9/VOP_RDWR.9
@@ -60,7 +60,11 @@ the credentials of the caller
.Pp
The
.Fa ioflag
-argument is a bit mask which can contain the following flags:
+argument is used to give directives and hints to the filesystem.
+When attempting a read, the high 16 bits are used to provide a
+read-ahead hint (in units of filesystem blocks) that the filesystem
+should attempt. The low 16 bits are a bit mask which can contain
+the following flags:
.Bl -tag -width IO_NODELOCKED
.It Dv IO_UNIT
do I/O as atomic unit