summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/aio_read.2
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-10-22 16:12:27 +0000
committeralfred <alfred@FreeBSD.org>2002-10-22 16:12:27 +0000
commit4a0178743640eb8e90dc14523066b97bb06fa6f6 (patch)
treed87dda8a3d13f6e2fac8904c8a29c38e9797e959 /lib/libc/sys/aio_read.2
parentdedc53fcbeef43bae1393f5401fb119cc9af7304 (diff)
downloadFreeBSD-src-4a0178743640eb8e90dc14523066b97bb06fa6f6.zip
FreeBSD-src-4a0178743640eb8e90dc14523066b97bb06fa6f6.tar.gz
Explain to users that they may want to kldload aio.
Move Xref sections. Submitted by: Craig Rodrigues <rodrigc@attbi.com>
Diffstat (limited to 'lib/libc/sys/aio_read.2')
-rw-r--r--lib/libc/sys/aio_read.227
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/libc/sys/aio_read.2 b/lib/libc/sys/aio_read.2
index b57de3e..ea542fb 100644
--- a/lib/libc/sys/aio_read.2
+++ b/lib/libc/sys/aio_read.2
@@ -179,6 +179,33 @@ The offset
.Fa iocb->aio_offset
would be invalid.
.El
+.Sh KERNEL OPTIONS
+The following kernel configuration option
+(see
+.Xr config 8 )
+is required:
+.Pp
+.Dl "options VFS_AIO"
+.Pp
+If you do not want AIO support included in the kernel, but
+want to use it occasionally, do not add the
+.Dv VFS_AIO
+option. Instead, load the
+.Nm aio
+module as desired:
+.Pp
+.Dl kldload aio
+.Pp
+.Sh SEE ALSO
+.Xr aio_cancel 2 ,
+.Xr aio_error 2 ,
+.Xr aio_return 2 ,
+.Xr aio_suspend 2 ,
+.Xr aio_waitcomplete 2 ,
+.Xr aio_write 2 ,
+.Xr config 8 ,
+.Xr kldload 8 ,
+.Xr kldunload 8
.Sh STANDARDS
The
.Fn aio_read
OpenPOWER on IntegriCloud