Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2993437AbXEBQEx (ORCPT ); Wed, 2 May 2007 12:04:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S2993438AbXEBQEx (ORCPT ); Wed, 2 May 2007 12:04:53 -0400 Received: from THUNK.ORG ([69.25.196.29]:59188 "EHLO thunker.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2993437AbXEBQEw (ORCPT ); Wed, 2 May 2007 12:04:52 -0400 Date: Wed, 2 May 2007 12:04:36 -0400 From: Theodore Tso To: Andi Kleen Cc: Andrew Morton , "Cabot, Mason B" , linux-kernel@vger.kernel.org Subject: Re: Ext3 vs NTFS performance Message-ID: <20070502160436.GA19442@thunk.org> Mail-Followup-To: Theodore Tso , Andi Kleen , Andrew Morton , "Cabot, Mason B" , linux-kernel@vger.kernel.org References: <20070501142325.09c294bd.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on thunker.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1016 Lines: 21 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? - Ted - 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/