Re: bind and O_NONBLOCK

2007-09-28 Thread David Miller
From: Ulrich Drepper <[EMAIL PROTECTED]> Date: Thu, 20 Sep 2007 22:59:53 -0700 > It would be ideal if we'd have such an implementation in the next few > months so that we, in theory, can check whether the text in the > specification makes sense. It seems this functionality is only relevant for re

Re: bind and O_NONBLOCK

2007-09-23 Thread Alan Cox
On Sat, Sep 22, 2007 at 10:58:18PM -0700, David Miller wrote: > From: Ulrich Drepper <[EMAIL PROTECTED]> > Date: Sat, 22 Sep 2007 10:11:01 -0700 > > > There was no public mail. I asked RH engineering for proposals for > > changes to the POSIX spec and Alan replied. > > Please do not discuss such

Re: bind and O_NONBLOCK

2007-09-22 Thread David Miller
From: Ulrich Drepper <[EMAIL PROTECTED]> Date: Sat, 22 Sep 2007 10:11:01 -0700 > There was no public mail. I asked RH engineering for proposals for > changes to the POSIX spec and Alan replied. Please do not discuss such proposals only privately, especially when the ramifications affect the enti

Re: bind and O_NONBLOCK

2007-09-22 Thread Evgeniy Polyakov
On Sat, Sep 22, 2007 at 01:35:56PM -0400, Alan Cox ([EMAIL PROTECTED]) wrote: > On Sat, Sep 22, 2007 at 08:14:15PM +0400, Evgeniy Polyakov wrote: > > of operations. There are four ways where bind can fail: > > > > 1. unsufficient rights - nothing can help here > > 2. there is no memory - async bin

Re: bind and O_NONBLOCK

2007-09-22 Thread Alan Cox
On Sat, Sep 22, 2007 at 08:14:15PM +0400, Evgeniy Polyakov wrote: > of operations. There are four ways where bind can fail: > > 1. unsufficient rights - nothing can help here > 2. there is no memory - async binding can not help here too, since it > some memory just has to be allocated to sav

Re: bind and O_NONBLOCK

2007-09-22 Thread Evgeniy Polyakov
On Sat, Sep 22, 2007 at 10:11:01AM -0700, Ulrich Drepper ([EMAIL PROTECTED]) wrote: > Evgeniy Polyakov wrote: > > Could you point to the original Alan's proposal, I only found short note > > (as in you original mail) at opengroup.org and failed to correctly > > googlify it in the web. > > There w

Re: bind and O_NONBLOCK

2007-09-22 Thread Ulrich Drepper
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Evgeniy Polyakov wrote: > Could you point to the original Alan's proposal, I only found short note > (as in you original mail) at opengroup.org and failed to correctly > googlify it in the web. There was no public mail. I asked RH engineering for pro

Re: bind and O_NONBLOCK

2007-09-22 Thread Evgeniy Polyakov
On Sat, Sep 22, 2007 at 09:21:06AM -0700, Ulrich Drepper ([EMAIL PROTECTED]) wrote: > Evgeniy Polyakov wrote: > > So, did I understand you correctly, that you want to introduce network > > AIO here? (for example on behalf of work queue or something else?) > > See Alan's mail. All this was his pr

Re: bind and O_NONBLOCK

2007-09-22 Thread Ulrich Drepper
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Evgeniy Polyakov wrote: > So, did I understand you correctly, that you want to introduce network > AIO here? (for example on behalf of work queue or something else?) See Alan's mail. All this was his proposal, I just got it accepted upstream. The pr

Re: bind and O_NONBLOCK

2007-09-22 Thread Evgeniy Polyakov
Hi Ulrich. On Thu, Sep 20, 2007 at 10:59:53PM -0700, Ulrich Drepper ([EMAIL PROTECTED]) wrote: > Some time back Alan asked about adding O_NONBLOCK support to bind in the > POSIX spec. I brought this up and the following text will be in the > next revision of the POSIX spec: > >

bind and O_NONBLOCK

2007-09-20 Thread Ulrich Drepper
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Some time back Alan asked about adding O_NONBLOCK support to bind in the POSIX spec. I brought this up and the following text will be in the next revision of the POSIX spec: === If the socket address cannot be assigned immediately