Re: kern/13075 (was: Re: aio_*)

1999-09-20 Thread John W. DeBoskey
Well, another code fragment might be useful: /*--+ | Set up iocb for aio_write() call | +--*/ memset(iocb, 0, sizeof(struct

Re: kern/13075 (was: Re: aio_*)

1999-09-19 Thread Jason Nordwick
Sorry forgot something: the Linux way of doing this is to fill in the si_band with information on what has happened. This sound acceptable and there is no need to be incompatible if the idea isn't too bad. -jason To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hacker

Re: kern/13075 (was: Re: aio_*)

1999-09-19 Thread Jason Nordwick
>And now for a wish: [ST_AIO stuff cut] If I understand what you are trying to say, then when real time signals are added, this will be unnecessary. You can get the completion of an aio_* call from the signal queue. -jason To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe fr

Re: kern/13075 (was: Re: aio_*)

1999-09-19 Thread Christopher Sedore
Part of my patches is a new system call, aio_waitcomplete() which waits for an aio job to complete, and returns a pointer to the userland aiocb associated with the job. (This is a non-standard extension of my own creation). The patches are available from http://tfeed.maxwell.syr.edu, link is on

Re: kern/13075 (was: Re: aio_*)

1999-09-19 Thread John W. DeBoskey
Hand up... I have two machines running heavily hit aio based file server mechanisms. If the patches will apply to a -current system about 2 weeks old I'll give it a try... (atleast without too much trouble). And now for a wish: /*-

Re: kern/13075 (was: Re: aio_*)

1999-09-18 Thread John-Mark Gurney
Christopher Sedore scribbled this message on Sep 16: > > Great, now do you want to tackle aio_cancel? ;^) > > I've been holding off to see whether I can get the other aio patches for > improved socket io committed. I don't want to do two versions of > aio_cancel (the changes for sockets alter th

Re: kern/13075 (was: Re: aio_*)

1999-09-18 Thread John-Mark Gurney
Christopher Sedore scribbled this message on Sep 16: > > Great, now do you want to tackle aio_cancel? ;^) > > I've been holding off to see whether I can get the other aio patches for > improved socket io committed. I don't want to do two versions of > aio_cancel (the changes for sockets alter t

Re: kern/13075 (was: Re: aio_*)

1999-09-16 Thread Wes Peters
Christopher Sedore wrote: > > On Thu, 16 Sep 1999, Wes Peters wrote: > > > Christopher Sedore wrote: > > > > > > On Wed, 15 Sep 1999, Ruslan Ermilov wrote: > > > > > > > > Do you by any change have an idea how to fix PR kern/13075 > > > > (signal is not posted for async I/O on raw devices) > > >

Re: kern/13075 (was: Re: aio_*)

1999-09-16 Thread Wes Peters
Christopher Sedore wrote: > > On Thu, 16 Sep 1999, Wes Peters wrote: > > > Christopher Sedore wrote: > > > > > > On Wed, 15 Sep 1999, Ruslan Ermilov wrote: > > > > > > > > Do you by any change have an idea how to fix PR kern/13075 > > > > (signal is not posted for async I/O on raw devices) > > >

Re: kern/13075 (was: Re: aio_*)

1999-09-16 Thread Christopher Sedore
On Thu, 16 Sep 1999, Wes Peters wrote: > Christopher Sedore wrote: > > > > On Wed, 15 Sep 1999, Ruslan Ermilov wrote: > > > > > > Do you by any change have an idea how to fix PR kern/13075 > > > (signal is not posted for async I/O on raw devices) > > > > Yes. There is no code to post the sig

Re: kern/13075 (was: Re: aio_*)

1999-09-16 Thread Wes Peters
Christopher Sedore wrote: > > On Wed, 15 Sep 1999, Ruslan Ermilov wrote: > > > > Do you by any change have an idea how to fix PR kern/13075 > > (signal is not posted for async I/O on raw devices) > > Yes. There is no code to post the signal unless the job is of the lio > variety. Writing a fix

Re: kern/13075 (was: Re: aio_*)

1999-09-16 Thread Christopher Sedore
On Thu, 16 Sep 1999, Wes Peters wrote: > Christopher Sedore wrote: > > > > On Wed, 15 Sep 1999, Ruslan Ermilov wrote: > > > > > > Do you by any change have an idea how to fix PR kern/13075 > > > (signal is not posted for async I/O on raw devices) > > > > Yes. There is no code to post the si

Re: kern/13075 (was: Re: aio_*)

1999-09-16 Thread Wes Peters
Christopher Sedore wrote: > > On Wed, 15 Sep 1999, Ruslan Ermilov wrote: > > > > Do you by any change have an idea how to fix PR kern/13075 > > (signal is not posted for async I/O on raw devices) > > Yes. There is no code to post the signal unless the job is of the lio > variety. Writing a fix

Re: kern/13075 (was: Re: aio_*)

1999-09-16 Thread Christopher Sedore
I filed a followup with a patch (against 4.x, but it will probably work just as well against 3.x, but I don't have a handy way to try it). -Chris On Wed, 15 Sep 1999, Mike Smith wrote: > > > > > > On Wed, 15 Sep 1999, Ruslan Ermilov wrote: > > > > > > The aio_* stuff (I use a custom patched

Re: kern/13075 (was: Re: aio_*)

1999-09-16 Thread Christopher Sedore
I filed a followup with a patch (against 4.x, but it will probably work just as well against 3.x, but I don't have a handy way to try it). -Chris On Wed, 15 Sep 1999, Mike Smith wrote: > > > > > > On Wed, 15 Sep 1999, Ruslan Ermilov wrote: > > > > > > The aio_* stuff (I use a custom patched

Re: kern/13075 (was: Re: aio_*)

1999-09-15 Thread Mike Smith
> > > On Wed, 15 Sep 1999, Ruslan Ermilov wrote: > > > > The aio_* stuff (I use a custom patched version in 4.x) offers performance > > > advantages over select() with large numbers of descriptors. In terms of > > > efficiency, I don't have any trouble saturating full-duplex 100mbit link > > >

Re: aio_*

1999-09-15 Thread Wayne Cuddy
On Tue, 14 Sep 1999, Nik Clayton wrote: > What we need is people like yourself, who are having to go through the > learning curve, to document stuff as you're finding it out. It doesn't > matter if your notes are a bit rough and ready, because the next person > to use them can improve on them,

Re: kern/13075 (was: Re: aio_*)

1999-09-15 Thread Mike Smith
> > > On Wed, 15 Sep 1999, Ruslan Ermilov wrote: > > > > The aio_* stuff (I use a custom patched version in 4.x) offers performance > > > advantages over select() with large numbers of descriptors. In terms of > > > efficiency, I don't have any trouble saturating full-duplex 100mbit link > > >

Re: kern/13075 (was: Re: aio_*)

1999-09-15 Thread Christopher Sedore
On Wed, 15 Sep 1999, Ruslan Ermilov wrote: > > The aio_* stuff (I use a custom patched version in 4.x) offers performance > > advantages over select() with large numbers of descriptors. In terms of > > efficiency, I don't have any trouble saturating full-duplex 100mbit link > > with aio routine

Re: kern/13075 (was: Re: aio_*)

1999-09-15 Thread Christopher Sedore
On Wed, 15 Sep 1999, Ruslan Ermilov wrote: > > The aio_* stuff (I use a custom patched version in 4.x) offers performance > > advantages over select() with large numbers of descriptors. In terms of > > efficiency, I don't have any trouble saturating full-duplex 100mbit link > > with aio routin

Re: aio_*

1999-09-15 Thread Wayne Cuddy
On Tue, 14 Sep 1999, Nik Clayton wrote: > What we need is people like yourself, who are having to go through the > learning curve, to document stuff as you're finding it out. It doesn't > matter if your notes are a bit rough and ready, because the next person > to use them can improve on them, a

Re: kern/13075 (was: Re: aio_*)

1999-09-15 Thread Ruslan Ermilov
On Tue, Sep 14, 1999 at 04:40:37PM -0400, Christopher Sedore wrote: > > > On Mon, 13 Sep 1999, Jayson Nordwick wrote: > > > While reading through (at least trying to... I wish there was some sort of > > kernel documentation available, the entry fee is very high) the aio_* calls, > > I had a few

Re: kern/13075 (was: Re: aio_*)

1999-09-14 Thread Ruslan Ermilov
On Tue, Sep 14, 1999 at 04:40:37PM -0400, Christopher Sedore wrote: > > > On Mon, 13 Sep 1999, Jayson Nordwick wrote: > > > While reading through (at least trying to... I wish there was some sort of > > kernel documentation available, the entry fee is very high) the aio_* calls, > > I had a few

Re: aio_*

1999-09-14 Thread Christopher Sedore
On Mon, 13 Sep 1999, Jayson Nordwick wrote: > While reading through (at least trying to... I wish there was some sort of > kernel documentation available, the entry fee is very high) the aio_* calls, > I had a few questions to clear up my understanding: > > 1) Do they only work on files? The

Re: aio_*

1999-09-14 Thread Christopher Sedore
On Mon, 13 Sep 1999, Jayson Nordwick wrote: > While reading through (at least trying to... I wish there was some sort of > kernel documentation available, the entry fee is very high) the aio_* calls, > I had a few questions to clear up my understanding: > > 1) Do they only work on files? The

Re: aio_*

1999-09-14 Thread Nik Clayton
On Mon, Sep 13, 1999 at 10:02:40PM -0700, Jayson Nordwick wrote: > While reading through (at least trying to... I wish there was some sort of > kernel documentation available, the entry fee is very high) What we need is people like yourself, who are having to go through the learning curve, to d

Re: aio_*

1999-09-14 Thread Nik Clayton
On Mon, Sep 13, 1999 at 10:02:40PM -0700, Jayson Nordwick wrote: > While reading through (at least trying to... I wish there was some sort of > kernel documentation available, the entry fee is very high) What we need is people like yourself, who are having to go through the learning curve, to do

Re: aio_*

1999-09-14 Thread Ville-Pertti Keinonen
[EMAIL PROTECTED] (Jayson Nordwick) writes: > While reading through (at least trying to... I wish there was some sort of > kernel documentation available, the entry fee is very high) the aio_* calls, > I had a few questions to clear up my understanding: > 1) Do they only work on files? The on

Re: aio_*

1999-09-14 Thread Ville-Pertti Keinonen
nordw...@scam.xcf.berkeley.edu (Jayson Nordwick) writes: > While reading through (at least trying to... I wish there was some sort of > kernel documentation available, the entry fee is very high) the aio_* calls, > I had a few questions to clear up my understanding: > 1) Do they only work on fi