Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 17 Mar 2003 04:26:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 17 Mar 2003 04:26:48 -0500 Received: from holomorphy.com ([66.224.33.161]:28121 "EHLO holomorphy") by vger.kernel.org with ESMTP id ; Mon, 17 Mar 2003 04:26:47 -0500 Date: Mon, 17 Mar 2003 01:37:12 -0800 From: William Lee Irwin III To: Alex Tomas Cc: linux-kernel , ext2-devel@lists.sourceforge.net, Andrew Morton Subject: Re: [PATCH] distributed counters for ext2 to avoid group scaning Message-ID: <20030317093712.GP20188@holomorphy.com> Mail-Followup-To: William Lee Irwin III , Alex Tomas , linux-kernel , ext2-devel@lists.sourceforge.net, Andrew Morton References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Organization: The Domain of Holomorphy Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 681 Lines: 17 On Sun, Mar 16, 2003 at 06:01:55PM +0300, Alex Tomas wrote: > ext2 with concurrent balloc/ialloc doesn't maintain global free > inodes/blocks counters. this is due to badness of spinlocks and > atomic_t from big iron's viewpoint. therefore, to know these values > we should scan all group descriptors. there are 81 groups for 10G > fs. I believe there is method to avoid scaning and decrease memory > footprint. benching now -- wli - 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/