Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 2 Dec 2000 00:27:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 2 Dec 2000 00:27:43 -0500 Received: from a203-167-249-89.reverse.clear.net.nz ([203.167.249.89]:2564 "HELO metastasis.f00f.org") by vger.kernel.org with SMTP id ; Sat, 2 Dec 2000 00:27:33 -0500 Date: Sat, 2 Dec 2000 17:57:04 +1300 From: Chris Wedgwood To: "Richard B. Johnson" Cc: Steven Van Acker , linux-kernel@vger.kernel.org, "Stephen C. Tweedie" Subject: Re: ext2 directory size bug (?) Message-ID: <20001202175704.B269@metastasis.f00f.org> In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from root@chaos.analogic.com on Thu, Nov 30, 2000 at 08:24:02AM -0500 X-No-Archive: Yes Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 30, 2000 at 08:24:02AM -0500, Richard B. Johnson wrote: This is actually a feature. The directory does not get truncated. Arguably directories could be truncated when objects towards the end are removed; I believe UFS under Solaris might do this? An even better heuristic I like would allow repacking of a directory and truncation if you could safely half the size -- but I suspect locking issues might be hideous here. --cw - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/