Module Name: src
Committed By: yamt
Date: Wed Sep 15 07:28:46 UTC 2010
Modified Files:
src/lib/librt: aio_cancel.3 aio_fsync.3
Log Message:
remove RESTRICTIONS section, which seems unrelated to our implementation
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/librt/aio_cancel.3
cvs rdiff -u -r1.6 -r1.7 src/lib/librt/aio_fsync.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/librt/aio_cancel.3
diff -u src/lib/librt/aio_cancel.3:1.4 src/lib/librt/aio_cancel.3:1.5
--- src/lib/librt/aio_cancel.3:1.4 Mon May 17 19:22:31 2010
+++ src/lib/librt/aio_cancel.3 Wed Sep 15 07:28:46 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: aio_cancel.3,v 1.4 2010/05/17 19:22:31 jruoho Exp $
+.\" $NetBSD: aio_cancel.3,v 1.5 2010/09/15 07:28:46 yamt Exp $
.\"
.\" Copyright (c) 1999 Softweyr LLC.
.\" All rights reserved.
@@ -51,15 +51,6 @@
Normal asynchronous notification occurs for cancelled requests.
Requests complete with an error result of
.Er ECANCELED .
-.Sh RESTRICTIONS
-The
-.Fn aio_cancel
-system call does not cancel asynchronous I/O requests for raw disk devices.
-The
-.Fn aio_cancel
-system call will always return
-.Dv AIO_NOTCANCELED
-for file descriptors associated with raw disk devices.
.Sh RETURN VALUES
The
.Fn aio_cancel
Index: src/lib/librt/aio_fsync.3
diff -u src/lib/librt/aio_fsync.3:1.6 src/lib/librt/aio_fsync.3:1.7
--- src/lib/librt/aio_fsync.3:1.6 Mon May 17 19:22:31 2010
+++ src/lib/librt/aio_fsync.3 Wed Sep 15 07:28:46 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: aio_fsync.3,v 1.6 2010/05/17 19:22:31 jruoho Exp $
+.\" $NetBSD: aio_fsync.3,v 1.7 2010/09/15 07:28:46 yamt Exp $
.\"
.\" Copyright (c) 2007 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -83,16 +83,6 @@
.Fn aio_error
in order to determine return or error status for the enqueued operation
while it is in progress.
-.Sh RESTRICTIONS
-The asynchronous I/O control buffer
-.Fa aiocbp
-should be zeroed before the
-.Fn aio_fsync
-system call to avoid passing bogus context information to the kernel.
-.Pp
-Modifications of the Asynchronous I/O Control Block structure after
-the request has been enqueued, but before the request has completed,
-are not allowed.
.Sh RETURN VALUES
.Rv -std aio_fsync
.Sh ERRORS