[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090107124034.GB31255@ioremap.net>
Date: Wed, 7 Jan 2009 15:40:34 +0300
From: Evgeniy Polyakov <zbr@...emap.net>
To: Jens Axboe <jens.axboe@...cle.com>
Cc: Jarek Poplawski <jarkao2@...il.com>, Willy Tarreau <w@....eu>,
Changli Gao <xiaosuo@...il.com>,
Herbert Xu <herbert@...dor.apana.org.au>,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: Data corruption issue with splice() on 2.6.27.10
On Wed, Jan 07, 2009 at 01:35:04PM +0100, Jens Axboe (jens.axboe@...cle.com) wrote:
> Irregardless of that particular oddity, I don't think this is the right
> path to take at all. We need to delay the pipe buffer consumption until
> the appropriate time.
As a proof of concept we can put a delayed work_struct into the buffer
and only release its content after some timeout big enough (like one
second or so) for the hardware to actually transmit its buffers.
--
Evgeniy Polyakov
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists