From owner-cvs-all Wed Oct 23 8: 6:20 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D44C37B406; Wed, 23 Oct 2002 08:06:13 -0700 (PDT) Received: from dibbler.ne.client2.attbi.com (dibbler.ne.client2.attbi.com [24.61.41.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04C3943E42; Wed, 23 Oct 2002 08:06:12 -0700 (PDT) (envelope-from rodrigc@attbi.com) Received: from dibbler.ne.client2.attbi.com (localhost.ne.attbi.com [127.0.0.1]) by dibbler.ne.client2.attbi.com (8.12.6/8.12.5) with ESMTP id g9NF6KRD027316; Wed, 23 Oct 2002 11:06:20 -0400 (EDT) (envelope-from rodrigc@dibbler.ne.client2.attbi.com) Received: (from rodrigc@localhost) by dibbler.ne.client2.attbi.com (8.12.6/8.12.6/Submit) id g9NF6JYH027315; Wed, 23 Oct 2002 11:06:19 -0400 (EDT) Date: Wed, 23 Oct 2002 11:06:19 -0400 From: Craig Rodrigues To: Dag-Erling Smorgrav Cc: Alfred Perlstein , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/sys aio_cancel.2 aio_error.2 aio_read.2 aio_return.2 aio_suspend.2 aio_waitcomplete.2 aio_write.2 Message-ID: <20021023110619.A27272@attbi.com> References: <200210221612.g9MGCR1p012070@repoman.freebsd.org> <20021022161820.GA57732@starjuice.net> <20021022164649.GS91539@elvis.mu.org> <20021022132829.A22126@attbi.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from des@ofug.org on Wed, Oct 23, 2002 at 10:10:31AM +0200 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Oct 23, 2002 at 10:10:31AM +0200, Dag-Erling Smorgrav wrote: > It's not really that hard, the attached patch took me all of four > minutes to write. I can even commit it for you :) It's a bit on the > skinny side, but still better than nothing. You'll have to add Xrefs > to the aio_* pages though. I modified your initial aio(4) man page with more information. You can commit it if you want. I also modified the other aio man pages. -- Craig Rodrigues http://www.gis.net/~craigr rodrigc@attbi.com --LQksG6bCIzRHxTLp Content-Type: text/x-patch; charset=us-ascii Content-Disposition: attachment; filename="aio.diff" --- /dev/null Wed Oct 23 10:55:01 2002 +++ aio.4 Wed Oct 23 10:56:24 2002 @@ -0,0 +1,49 @@ +.\" +.\" $FreeBSD$ +.\" +.Dd October 23, 2002 +.Dt AIO 4 +.Os +.Sh NAME +.Nm aio +.Nd asynchronous I/O +.Sh SYNOPSIS +.Cd "options VFS_AIO" +.Sh DESCRIPTION +The +.Nm +kernel module provides system calls for asynchronous I/O. +.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_read 2 , +.Xr aio_return 2 , +.Xr aio_suspend 2 , +.Xr aio_waitcomplete 2 , +.Xr aio_write 2 , +.Xr config 8, +.Xr kld 4 , +.Xr kldload 8 +.Sh HISTORY +The +.Nm +facility appeared in +.Fx 3.0 . --LQksG6bCIzRHxTLp Content-Type: text/x-patch; charset=us-ascii Content-Disposition: attachment; filename="aio2.diff" --- lib/libc/sys/aio_cancel.2.orig Wed Oct 23 11:06:25 2002 +++ lib/libc/sys/aio_cancel.2 Wed Oct 23 11:06:59 2002 @@ -99,6 +99,7 @@ .Dl kldload aio .Pp .Sh SEE ALSO +.Xr aio 4, .Xr aio_error 2 , .Xr aio_read 2 , .Xr aio_return 2 , --- lib/libc/sys/aio_error.2.orig Wed Oct 23 11:06:25 2002 +++ lib/libc/sys/aio_error.2 Wed Oct 23 11:07:25 2002 @@ -88,6 +88,7 @@ .Dl kldload aio .Pp .Sh SEE ALSO +.Xr aio 4, .Xr aio_cancel 2 , .Xr aio_read 2 , .Xr aio_return 2 , --- lib/libc/sys/aio_read.2.orig Wed Oct 23 11:06:25 2002 +++ lib/libc/sys/aio_read.2 Wed Oct 23 11:07:41 2002 @@ -197,6 +197,7 @@ .Dl kldload aio .Pp .Sh SEE ALSO +.Xr aio 4, .Xr aio_cancel 2 , .Xr aio_error 2 , .Xr aio_return 2 , --- lib/libc/sys/aio_return.2.orig Wed Oct 23 11:06:25 2002 +++ lib/libc/sys/aio_return.2 Wed Oct 23 11:07:56 2002 @@ -90,6 +90,7 @@ .Dl kldload aio .Pp .Sh SEE ALSO +.Xr aio 4, .Xr aio_cancel 2 , .Xr aio_error 2 , .Xr aio_suspend 2 , --- lib/libc/sys/aio_suspend.2.orig Wed Oct 23 11:06:25 2002 +++ lib/libc/sys/aio_suspend.2 Wed Oct 23 11:08:13 2002 @@ -103,6 +103,7 @@ .Dl kldload aio .Pp .Sh SEE ALSO +.Xr aio 4, .Xr aio_cancel 2 , .Xr aio_error 2 , .Xr aio_return 2 , --- lib/libc/sys/aio_waitcomplete.2.orig Wed Oct 23 11:06:25 2002 +++ lib/libc/sys/aio_waitcomplete.2 Wed Oct 23 11:08:28 2002 @@ -126,6 +126,7 @@ .Dl kldload aio .Pp .Sh SEE ALSO +.Xr aio 4, .Xr aio_cancel 2 , .Xr aio_error 2 , .Xr aio_read 2 , --LQksG6bCIzRHxTLp-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message