Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753685AbWLWTP6 (ORCPT ); Sat, 23 Dec 2006 14:15:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753690AbWLWTP5 (ORCPT ); Sat, 23 Dec 2006 14:15:57 -0500 Received: from ppp85-141-207-24.pppoe.mtu-net.ru ([85.141.207.24]:37026 "EHLO gw.home.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753683AbWLWTP5 (ORCPT ); Sat, 23 Dec 2006 14:15:57 -0500 From: Alex Tomas To: Christoph Hellwig Cc: David Chinner , Alex Tomas , linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC] delayed allocation for ext4 Organization: CFS References: <20061223033123.GL44411608@melbourne.sgi.com> <20061223092718.GA26276@infradead.org> X-Comment-To: Christoph Hellwig Date: Sat, 23 Dec 2006 22:15:43 +0300 In-Reply-To: <20061223092718.GA26276@infradead.org> (Christoph Hellwig's message of "Sat\, 23 Dec 2006 09\:27\:18 +0000") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) 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: 861 Lines: 18 >>>>> Christoph Hellwig (CH) writes: CH> Note that recording delayed alloc state at a page granularity in addition CH> to just the buffer heads has a lot of advantages aswell and would help CH> xfs, too. But I think it makes a lot more sense to record it as a radix CH> tree tag to speed up the gang lookups for delalloc conversion. please, exaplein about radix tree tag. in ext4-delalloc I use this bit the only way - to avoid multiple reservation space for same page. I guess you need to find non-allocated pages. probably to flush them and update number of reserved blocks in case of -ENOSPC? thanks, Alex - 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/