Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1766915AbXEBRm7 (ORCPT ); Wed, 2 May 2007 13:42:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1766904AbXEBRm7 (ORCPT ); Wed, 2 May 2007 13:42:59 -0400 Received: from mx1.suse.de ([195.135.220.2]:49700 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1766915AbXEBRm6 (ORCPT ); Wed, 2 May 2007 13:42:58 -0400 To: Theodore Tso Cc: Andi Kleen , Andrew Morton , "Cabot, Mason B" , linux-kernel@vger.kernel.org Subject: Re: Ext3 vs NTFS performance References: <20070501142325.09c294bd.akpm@linux-foundation.org> <20070502160436.GA19442@thunk.org> From: Andi Kleen Date: 02 May 2007 20:40:35 +0200 In-Reply-To: <20070502160436.GA19442@thunk.org> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1116 Lines: 20 Theodore Tso writes: > On Wed, May 02, 2007 at 02:21:40PM +0200, Andi Kleen wrote: > > Andrew Morton writes: > > > > > > Conceivably we could address this in the filesystem without mucking other > > > things up. But I'd have thought the simplest damage-control would be to > > > detect this pattern in samba and to then use glibc's fallocate(). > > > > The advantage of detecting it in kernel would be that it would handle > > Linux applications that do this (I suspect there are some) too. > > Um, which applications do you suspect? So we can hunt down those user > space applications programmers and slap them silly? Or rather, > unsilly, since that there's no good reason to ever suspect that > writing a byte every 128k would result in a good allocation layout on disk? Anything that uses glibc fallocate() ? -Andi - 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/