From owner-freebsd-hackers Thu Nov 9 13:23:47 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 717D737B4C5 for ; Thu, 9 Nov 2000 13:23:44 -0800 (PST) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id eA9LNdu05745; Thu, 9 Nov 2000 13:23:39 -0800 (PST) Date: Thu, 9 Nov 2000 13:23:39 -0800 From: Alfred Perlstein To: Dmitry Sychov Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: aio_read() broken functionality. Message-ID: <20001109132339.B5112@fw.wintelcom.net> References: <002001c04a91$10f0be20$1ec730d4@dima> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <002001c04a91$10f0be20$1ec730d4@dima>; from accelware@accelware.com on Fri, Nov 10, 2000 at 12:07:24AM +0300 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Dmitry Sychov [001109 13:06] wrote: > Greetings. > > According to manual the aio_offset field of the "aiocb" structure > is ignored in the aio_read() call. So one can read the file only from > beginning. Very bad for me. :-( > > Will this bug be fixed in FreeBSD 5.0? Hrm, parsing through the kernel code it looks like this is just a bug in the manpage, basically aio_offset doesn't look like it's ignored, can you try to use aio_offset and report if it works or not. Please submit some test code if it doesn't. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message