From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Garzik Subject: Re: [RFC 0/13] extents and 48bit ext3 Date: Sat, 10 Jun 2006 10:31:09 -0400 Message-ID: <448AD7AD.7080803@garzik.org> References: <1149890138.5776.114.camel@sisko.sctweedie.blueyonder.co.uk> <448A07EC.6000409@garzik.org> <20060610004727.GC7749@thunk.org> <448A1BBA.1030103@garzik.org> <20060610013048.GS5964@schatzie.adilger.int> <448A23B2.5080004@garzik.org> <20060610020306.GA449@thunk.org> <448A2A6F.8020301@garzik.org> <20060610025424.GA8536@thunk.org> <448A3863.3060906@garzik.org> <20060610121536.GA7300@thunk.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Andrew Morton , Matthew Frost , "Stephen C. Tweedie" , "ext2-devel@lists.sourceforge.net" , linux-kernel , Linus Torvalds , Mingming Cao , linux-fsdevel@vger.kernel.org, Alex Tomas Return-path: To: Theodore Tso In-Reply-To: <20060610121536.GA7300@thunk.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: ext2-devel-bounces@lists.sourceforge.net Errors-To: ext2-devel-bounces@lists.sourceforge.net List-Id: linux-fsdevel.vger.kernel.org Theodore Tso wrote: > On Fri, Jun 09, 2006 at 11:11:31PM -0400, Jeff Garzik wrote: >> It's an example of ext2 being bandaided to do something it was never >> originally designed to do. If online resizing had been planned from the >> start, allocating new inode tables on the fly would be trivial, as it is >> in JFS/NTFS/... > > And once again this has *nothing* to do with inode allocation, or > dynamic allocation of inode tables. Your "performance issue" has to > do with a difference in blocksizes. If you ext2/3 to pass your silly > test, then upgrade to the latest e2fsprogs and install the following > /etc/mke2fs.conf: WTF? In none of my examples did block size ever change. In none of my examples was block size ever mentioned as a factor. Inode density was demonstrably different in the resize vs. mkfs cases. And online resize -obviously- imposes a limit on inode density, by locking inodes-per-group at fs creation time. Dynamic allocation of inode tables would permit dynamic sizing of inode tables based on current needs, rather than needs determined at fs creation time. Jeff