Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758229AbXE3Tde (ORCPT ); Wed, 30 May 2007 15:33:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757669AbXE3TdX (ORCPT ); Wed, 30 May 2007 15:33:23 -0400 Received: from brick.kernel.dk ([80.160.20.94]:3420 "EHLO kernel.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757575AbXE3TdW (ORCPT ); Wed, 30 May 2007 15:33:22 -0400 Date: Wed, 30 May 2007 21:32:27 +0200 From: Jens Axboe To: Linus Torvalds Cc: Mark Lord , Ingo Molnar , Jeff Garzik , Zach Brown , linux-kernel@vger.kernel.org, Arjan van de Ven , Christoph Hellwig , Andrew Morton , Alan Cox , Ulrich Drepper , Evgeniy Polyakov , "David S. Miller" , Suparna Bhattacharya , Davide Libenzi , Thomas Gleixner Subject: Re: Syslets, Threadlets, generic AIO support, v6 Message-ID: <20070530193226.GB32105@kernel.dk> References: <20070529212718.GH7875@mami.zabbo.net> <465CA654.5000505@garzik.org> <20070530072055.GA3077@elte.hu> <465D43A0.8040307@garzik.org> <20070530160913.GA14261@elte.hu> <465DCAE4.1010206@rtr.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1075 Lines: 31 On Wed, May 30 2007, Linus Torvalds wrote: > > > On Wed, 30 May 2007, Mark Lord wrote: > > > > I wonder how useful it would be to reimplement sendfile() > > using splice(), either in glibc or inside the kernel itself? > > I'd like that, if only because right now we have two separate paths that > kind of do the same thing, and splice really is the only one that is > generic. > > I thought Jens even had some experimental patches for it. It might be > worth to "just do it" - there's some internal overhead, but on the other > hand, it's also likely the best way to make sure any issues get sorted > out. I do, this is a one year old patch that does that: http://git.kernel.dk/?p=linux-2.6-block.git;a=commitdiff;h=f8f550e027fd07ad8d87110178803dc63b544d89 I'll update it, test, and submit for 2.6.23. -- Jens Axboe - 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/