Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751292AbZAFKE1 (ORCPT ); Tue, 6 Jan 2009 05:04:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750862AbZAFKEQ (ORCPT ); Tue, 6 Jan 2009 05:04:16 -0500 Received: from 1wt.eu ([62.212.114.60]:1129 "EHLO 1wt.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750814AbZAFKEP (ORCPT ); Tue, 6 Jan 2009 05:04:15 -0500 Date: Tue, 6 Jan 2009 11:04:08 +0100 From: Willy Tarreau To: Jarek Poplawski Cc: Jens Axboe , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: Data corruption issue with splice() on 2.6.27.10 Message-ID: <20090106100408.GA25957@1wt.eu> References: <20081224152841.GB13113@1wt.eu> <20090106085442.GA9513@ff.dom.local> <20090106094138.GE25644@1wt.eu> <20090106100112.GB9513@ff.dom.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090106100112.GB9513@ff.dom.local> User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1050 Lines: 25 On Tue, Jan 06, 2009 at 10:01:13AM +0000, Jarek Poplawski wrote: > On Tue, Jan 06, 2009 at 10:41:38AM +0100, Willy Tarreau wrote: > ... > > > Great story! Alas I don't understand this fully either, but it seems > > > Changli Gao was concerned with sendpage sending this "as pages", so > > > when NETIF_F_SG flag is available. Did you try this without SG btw? > > > > No I did not. I can try, it's not too hard. It would in part defeat the > > purpose of the mechanism (especially at 10 Gbps) but at least it will > > help narrow the problem down. > > Yes, I meant it only as a proof of concept. BTW, delaying TCP acks a > bit for these sendpages should then make it more reproducible, I guess. ah ? I can try that too, using iptables on the target machine to drop a few outgoing acks. Regards, Willy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/