Re: aio_read() broken functionality.

2000-11-10 Thread Terry Lambert

 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?

The bug was fixed a long time ago, but the man page was never
updated.


Terry Lambert
[EMAIL PROTECTED]
---
Any opinions in this posting are my own and not those of my present
or previous employers.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: aio_read() broken functionality.

2000-11-10 Thread Terry Lambert

 
 * Dmitry Sychov [EMAIL PROTECTED] [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 - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]
 "I have the heart of a child; I keep it in a jar on my desk."
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-hackers" in the body of the message
 
 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



aio_read() broken functionality.

2000-11-09 Thread Dmitry Sychov




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?

Thank you!
Dmitry




Re: aio_read() broken functionality.

2000-11-09 Thread Alfred Perlstein

* Dmitry Sychov [EMAIL PROTECTED] [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 - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]
"I have the heart of a child; I keep it in a jar on my desk."


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: aio_read() broken functionality.

2000-11-09 Thread Wes Peters

Alfred Perlstein wrote:
 
 * Dmitry Sychov [EMAIL PROTECTED] [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.

It was probably correct when the manpage was written.  This seems to be
yet another bit of doco that has not been updated along with the system.

-- 
"Where am I, and what am I doing in this handbasket?"

Wes Peters Softweyr LLC
[EMAIL PROTECTED]   http://softweyr.com/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message