From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Xin Zhao" Subject: Why ext3 uses different policies to allocate inodes for dirs and files? Date: Mon, 6 Mar 2006 16:42:01 -0500 Message-ID: <4ae3c140603061342r26ca2226s2e6e41792104c633@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Cc: linux-fsdevel@vger.kernel.org Return-path: Received: from wproxy.gmail.com ([64.233.184.207]:47779 "EHLO wproxy.gmail.com") by vger.kernel.org with ESMTP id S1751630AbWCFVmC convert rfc822-to-8bit (ORCPT ); Mon, 6 Mar 2006 16:42:02 -0500 Received: by wproxy.gmail.com with SMTP id i28so1248302wra for ; Mon, 06 Mar 2006 13:42:01 -0800 (PST) To: linux-kernel Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org The policy seems to distribute dir inodes uniformly on all block groups. Why do we want to do this? Isn't it better to create a dir inode close to its parent dir inode? Thanks in advance for your help! Xin