Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752603Ab0BNSDq (ORCPT ); Sun, 14 Feb 2010 13:03:46 -0500 Received: from THUNK.ORG ([69.25.196.29]:34760 "EHLO thunker.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752463Ab0BNSDn (ORCPT ); Sun, 14 Feb 2010 13:03:43 -0500 Date: Sun, 14 Feb 2010 13:03:39 -0500 From: tytso@mit.edu To: Jari Sundell Cc: Linux Kernel Mailing List , linux-ext4@vger.kernel.org Subject: Re: Extents in spare files on ext4 not being merged Message-ID: <20100214180339.GH5337@thunk.org> Mail-Followup-To: tytso@mit.edu, Jari Sundell , Linux Kernel Mailing List , linux-ext4@vger.kernel.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) 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 List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1116 Lines: 24 On Sun, Feb 14, 2010 at 10:50:45PM +0900, Jari Sundell wrote: > http://libtorrent.rakshasa.no/ticket/460#comment:49 > > Some users of rtorrent reported very high number of extents for files > despite the use of posix_fallocate/fallocate on ext4. (3000+ for 250MB > file, ) A test program showed that the file was contiguous on disk > despite the high number of extents reported by filefrag. (Not sure > what kernel versions they used) Yeah, it's a known problem. The main problem is that we are only checking to see merge both to the left and the right of the extent tree when converting an extent from uninitialzied to initialized. I've cc'ed the linux-ext4 list in the hopes someone is motivated to fix this long-standing shortcoming. Unless someone starts working quickly, it's not likely it will make this upcoming merge window, but we can hope.... - 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/