FreeBSD Bugzilla – Attachment 23023 Details for
Bug 39748
[PATCH] Some changes to aio_*(2)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 3.99 KB, created by
Philipp Mergenthaler
on 2002-06-24 02:10:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Philipp Mergenthaler
Created:
2002-06-24 02:10:00 UTC
Size:
3.99 KB
patch
obsolete
>diff -ur lib/libc/sys/aio_cancel.2 lib/libc/sys_new/aio_cancel.2 >--- lib/libc/sys/aio_cancel.2 Mon Jun 24 02:19:35 2002 >+++ lib/libc/sys_new/aio_cancel.2 Mon Jun 24 02:09:06 2002 >@@ -49,6 +49,12 @@ > Normal asynchronous notification occurs for cancelled requests. > Requests complete with an error result of > .Er ECANCELED . >+.Pp >+Note that you must have >+.Dq options VFS_AIO >+in your kernel configuration file to use this function. >+See also the comment in the LINT or NOTES kernel configuration file, >+respectively. > .Sh RESTRICTIONS > The > .Fn aio_cancel >diff -ur lib/libc/sys/aio_error.2 lib/libc/sys_new/aio_error.2 >--- lib/libc/sys/aio_error.2 Mon Jun 24 02:19:35 2002 >+++ lib/libc/sys_new/aio_error.2 Mon Jun 24 02:09:06 2002 >@@ -42,6 +42,12 @@ > function returns the error status of the asynchronous I/O request > associated with the structure pointed to by > .Fa iocb . >+.Pp >+Note that you must have >+.Dq options VFS_AIO >+in your kernel configuration file to use this function. >+See also the comment in the LINT or NOTES kernel configuration file, >+respectively. > .Sh RETURN VALUES > If the asynchronous I/O request has completed successfully, > .Fn aio_error >diff -ur lib/libc/sys/aio_read.2 lib/libc/sys_new/aio_read.2 >--- lib/libc/sys/aio_read.2 Mon Jun 24 02:19:35 2002 >+++ lib/libc/sys_new/aio_read.2 Mon Jun 24 02:09:06 2002 >@@ -79,6 +79,12 @@ > .Fa iocb->aio_offset > can be modified during the request as context, so this value must > not be referenced after the request is enqueued. >+.Pp >+Note that you must have >+.Dq options VFS_AIO >+in your kernel configuration file to use this function. >+See also the comment in the LINT or NOTES kernel configuration file, >+respectively. > .Sh RESTRICTIONS > The Asynchronous I/O Control Block structure pointed to by > .Fa iocb >diff -ur lib/libc/sys/aio_return.2 lib/libc/sys_new/aio_return.2 >--- lib/libc/sys/aio_return.2 Mon Jun 24 02:19:35 2002 >+++ lib/libc/sys_new/aio_return.2 Mon Jun 24 02:09:06 2002 >@@ -49,6 +49,12 @@ > .Xr aio_error 2 > returns something other than > .Er EINPROGRESS . >+.Pp >+Note that you must have >+.Dq options VFS_AIO >+in your kernel configuration file to use this function. >+See also the comment in the LINT or NOTES kernel configuration file, >+respectively. > .Sh RETURN VALUES > If the asynchronous I/O request has completed, the status is returned > as described in >diff -ur lib/libc/sys/aio_suspend.2 lib/libc/sys_new/aio_suspend.2 >--- lib/libc/sys/aio_suspend.2 Mon Jun 24 02:19:35 2002 >+++ lib/libc/sys_new/aio_suspend.2 Mon Jun 24 02:09:06 2002 >@@ -60,6 +60,12 @@ > poll, the > .Fa timeout > should point to a zero-value timespec structure. >+.Pp >+Note that you must have >+.Dq options VFS_AIO >+in your kernel configuration file to use this function. >+See also the comment in the LINT or NOTES kernel configuration file, >+respectively. > .Sh RETURN VALUES > If one or more of the specified asynchronous I/O requests have > completed, >diff -ur lib/libc/sys/aio_waitcomplete.2 lib/libc/sys_new/aio_waitcomplete.2 >--- lib/libc/sys/aio_waitcomplete.2 Mon Jun 24 02:19:35 2002 >+++ lib/libc/sys_new/aio_waitcomplete.2 Mon Jun 24 02:09:06 2002 >@@ -70,6 +70,12 @@ > .Fn aio_return > should not be called for the control block returned in > .Fa iocbp . >+.Pp >+Note that you must have >+.Dq options VFS_AIO >+in your kernel configuration file to use this function. >+See also the comment in the LINT or NOTES kernel configuration file, >+respectively. > .Sh RETURN VALUES > If an asynchronous I/O request has completed, > .Fa iocbp >diff -ur lib/libc/sys/aio_write.2 lib/libc/sys_new/aio_write.2 >--- lib/libc/sys/aio_write.2 Mon Jun 24 02:19:35 2002 >+++ lib/libc/sys_new/aio_write.2 Mon Jun 24 02:09:06 2002 >@@ -83,6 +83,12 @@ > .Fa iocb->aio_offset > can be modified during the request as context, so this value must not > be referenced after the request is enqueued. >+.Pp >+Note that you must have >+.Dq options VFS_AIO >+in your kernel configuration file to use this function. >+See also the comment in the LINT or NOTES kernel configuration file, >+respectively. > .Sh RESTRICTIONS > The Asynchronous I/O Control Block structure pointed to by > .Fa iocb
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 39748
:
23022
| 23023 |
23024