diff options
author | jhb <jhb@FreeBSD.org> | 2016-07-28 20:31:30 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2016-07-28 20:31:30 +0000 |
commit | 9b2ba0e5df123933210b18da17ec3ca2d5f5c41a (patch) | |
tree | 6047b7259e2553745848f83a2183fd0e536ddb1f /lib/libc/string/wcsdup.c | |
parent | e442a085d06ea3acc1ac496469c4e212774a2c5d (diff) | |
download | FreeBSD-src-9b2ba0e5df123933210b18da17ec3ca2d5f5c41a.zip FreeBSD-src-9b2ba0e5df123933210b18da17ec3ca2d5f5c41a.tar.gz |
MFC 303164: Add more documentation regarding unsafe AIO requests.
The asynchronous I/O changes made previously result in different
behavior out of the box. Previously all AIO requests failed with
ENOSYS / SIGSYS unless aio.ko was explicitly loaded. Now, some AIO
requests complete and others ("unsafe" requests) fail with EOPNOTSUPP.
Reword the introductory paragraph in aio(4) to add a general
description of AIO before describing the vfs.aio.enable_unsafe sysctl.
Remove the ENOSYS error description from aio_fsync(2), aio_read(2),
and aio_write(2) and replace it with a description of EOPNOTSUPP.
Remove the ENOSYS error description from aio_mlock(2).
Log a message to the system log the first time a process requests an
"unsafe" AIO request that fails with EOPNOTSUPP. This is modeled on
the log message used for processes using the legacy pty devices.
Approved by: re (gjb)
Diffstat (limited to 'lib/libc/string/wcsdup.c')
0 files changed, 0 insertions, 0 deletions