Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750888AbWCVNCQ (ORCPT ); Wed, 22 Mar 2006 08:02:16 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750999AbWCVNCP (ORCPT ); Wed, 22 Mar 2006 08:02:15 -0500 Received: from outpipe-village-512-1.bc.nu ([81.2.110.250]:30669 "EHLO lxorguk.ukuu.org.uk") by vger.kernel.org with ESMTP id S1750843AbWCVNCP (ORCPT ); Wed, 22 Mar 2006 08:02:15 -0500 Subject: Re: [RFC] [PATCH] Reducing average ext2 fsck time through fs-wide dirty bit] From: Alan Cox To: Valerie Henson Cc: linux-kernel@vger.kernel.org, ext2-devel@lists.sourceforge.net, Arjan van de Ven , "Theodore Ts'o" , Zach Brown In-Reply-To: <20060322011034.GP12571@goober> References: <20060322011034.GP12571@goober> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Wed, 22 Mar 2006 13:08:50 +0000 Message-Id: <1143032930.3584.5.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1100 Lines: 25 On Maw, 2006-03-21 at 17:10 -0800, Valerie Henson wrote: > The combination of the orphan inode and preallocation blocks problem > led me to another idea: create in-memory-only allocation bitmaps for > both inodes and blocks. This was actually done by Interactive Unix long ago to get sane performance of System 5 file systems which didnt directly use bitmaps. I suspect you don't need a complete in memory bitmap list however, you just need an exceptions table of extents that are preallocated. Furthermore you can bound this by either releasing oldest preallocations or refusing new ones when you hit some kind of resource bound. Similarly for inodes, except that you actually have the in memory exception list in the ext2 inodes in memory already (no inode is orphan unless open) so you may only need another list pointer to walk the orphans Alan - 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/