diff options
author | alfred <alfred@FreeBSD.org> | 2002-10-22 16:12:27 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-10-22 16:12:27 +0000 |
commit | 4a0178743640eb8e90dc14523066b97bb06fa6f6 (patch) | |
tree | d87dda8a3d13f6e2fac8904c8a29c38e9797e959 /lib/libc/sys/aio_return.2 | |
parent | dedc53fcbeef43bae1393f5401fb119cc9af7304 (diff) | |
download | FreeBSD-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_return.2')
-rw-r--r-- | lib/libc/sys/aio_return.2 | 38 |
1 files changed, 29 insertions, 9 deletions
diff --git a/lib/libc/sys/aio_return.2 b/lib/libc/sys/aio_return.2 index 2d50143..8477cee 100644 --- a/lib/libc/sys/aio_return.2 +++ b/lib/libc/sys/aio_return.2 @@ -63,15 +63,6 @@ returns and sets .Dv errno to indicate the error condition. -.Sh SEE ALSO -.Xr aio_cancel 2 , -.Xr aio_error 2 , -.Xr aio_read 2 , -.Xr aio_suspend 2 , -.Xr aio_write 2 , -.Xr fsync 2 , -.Xr read 2 , -.Xr write 2 .Sh ERRORS The .Fn aio_return @@ -81,6 +72,35 @@ function will fail if: .Fa iocb does not reference an outstanding asynchronous I/O request. .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_suspend 2 , +.Xr aio_waitcomplete 2 , +.Xr aio_write 2 , +.Xr fsync 2 , +.Xr read 2 , +.Xr write 2 , +.Xr config 8 , +.Xr kldload 8 , +.Xr kldunload 8 .Sh STANDARDS .Fn aio_return is expected to conform to the |