Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S268209AbUIGPcw (ORCPT ); Tue, 7 Sep 2004 11:32:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268312AbUIGP3c (ORCPT ); Tue, 7 Sep 2004 11:29:32 -0400 Received: from fw.osdl.org ([65.172.181.6]:52953 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S268073AbUIGP2J (ORCPT ); Tue, 7 Sep 2004 11:28:09 -0400 Date: Tue, 7 Sep 2004 08:28:00 -0700 (PDT) From: Linus Torvalds To: =?iso-8859-1?Q?J=F6rn?= Engel cc: Andrew Morton , linux-kernel@vger.kernel.org, Steve French Subject: Re: [PATCH 4/4] copyfile: copyfile In-Reply-To: <20040907152118.GA30396@wohnheim.fh-wedel.de> Message-ID: References: <20040907120908.GB26630@wohnheim.fh-wedel.de> <20040907121118.GA27297@wohnheim.fh-wedel.de> <20040907121235.GB27297@wohnheim.fh-wedel.de> <20040907121520.GC27297@wohnheim.fh-wedel.de> <20040907145118.GA29993@wohnheim.fh-wedel.de> <20040907152118.GA30396@wohnheim.fh-wedel.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1011 Lines: 24 On Tue, 7 Sep 2004, J?rn Engel wrote: > > > Actually, the 4kB batching one was - if you only max out to using 4kB at a > > time, sendfile() is kind of pointless, because then it will never do > > multi-page copies in the first place, and all the complexity at a lower > > level is worthless.. > > Give me a better number. 16k? 1M? Or would it not be fundamentally > flawed if the unit was seconds, instead of bytes? That makes a lot > more sense, since a floppy and a Ultra320 RAID array differ slightly > in speed and it's response time the users actually care about. Well, you can't do it by seconds. What you _can_ do is to just make the fundamental page-cache sendfile thing check for interruptible, and just do it at a lower level. Maybe. Linus - 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/