Re: [PATCH] tcp: do not promote SPLICE_F_NONBLOCK to socket O_NONBLOCK

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Octavian Purdila <opurdila@...>
Cc: <netdev@...>, <linux-kernel@...>
Date: Thursday, July 17, 2008 - 1:41 pm

On Thu, Jul 17, 2008 at 05:47:27PM +0300, Octavian Purdila (opurdila@ixiacom.com) wrote:

It depends. Splice clearly states that it tries to be nonblocking with
given flag being set, and its reading will be non-blocking indeed.


Yes, but reading from the network will not.


I'm not sure I understand how it can deadlock, please explain it in more
details.

-- 
	Evgeniy Polyakov
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] tcp: do not promote SPLICE_F_NONBLOCK to socket ..., Evgeniy Polyakov, (Thu Jul 17, 10:21 am)
Re: [PATCH] tcp: do not promote SPLICE_F_NONBLOCK to socket ..., Octavian Purdila, (Thu Jul 17, 10:47 am)
Re: [PATCH] tcp: do not promote SPLICE_F_NONBLOCK to socket ..., Evgeniy Polyakov, (Thu Jul 17, 1:41 pm)
Re: [PATCH] tcp: do not promote SPLICE_F_NONBLOCK to socket ..., Octavian Purdila, (Fri Jul 18, 10:04 am)
Re: [PATCH] tcp: do not promote SPLICE_F_NONBLOCK to socket ..., Evgeniy Polyakov, (Fri Jul 18, 10:32 am)
Re: [PATCH] tcp: do not promote SPLICE_F_NONBLOCK to socket ..., Octavian Purdila, (Fri Jul 18, 11:50 am)
Re: [PATCH] tcp: do not promote SPLICE_F_NONBLOCK to socket ..., Evgeniy Polyakov, (Fri Jul 18, 12:00 pm)