From owner-freebsd-current Tue Nov 17 09:47:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA13548 for freebsd-current-outgoing; Tue, 17 Nov 1998 09:47:53 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from alive.znep.com (207-178-54-226.go2net.com [207.178.54.226]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA13538 for ; Tue, 17 Nov 1998 09:47:51 -0800 (PST) (envelope-from marcs@znep.com) Received: from localhost (marcs@localhost) by alive.znep.com (8.9.1/8.9.1) with ESMTP id JAA11675; Tue, 17 Nov 1998 09:43:21 -0800 (PST) (envelope-from marcs@znep.com) Date: Tue, 17 Nov 1998 09:43:20 -0800 (PST) From: Marc Slemko To: HighWind Software Information cc: current@FreeBSD.ORG Subject: Re: aio_read() / aio_write() don't work In-Reply-To: <199811171641.LAA20517@highwind.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 17 Nov 1998, HighWind Software Information wrote: > > I reported PR kern/8669 about aio_read() and aio_write() not working. > Anybody have any ideas about it. > > It seems to me that the aio_* routines: > > - don't work at all As I already told you, it is NOT correct to say that they don't work at all and, in fact, just hides the real thing that needs fixing. That isn't good; if you said that "oh, offsets don't work" then someone would be a lot more likely to look at it than if you say "oh, they just don't work period". And, at this point, the only thing that I would see wrong that didn't work in your test program is the offsets. > - don't have a man page > - have a broken header (doesn't do an "extern "C" {") > > Where is the code for this stuff? I can't find it, so, I can't even > consider fixing it. /sys/kern/vfs_aio.c has the aio_* stuff, but I think the problem is actually down lower in things like vn_write in vfs_vops.c. It doesn't look too hard to fix, but I haven't had a chance to try it yet. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message