Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 24 Oct 2001 13:41:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 24 Oct 2001 13:41:06 -0400 Received: from garrincha.netbank.com.br ([200.203.199.88]:15370 "HELO netbank.com.br") by vger.kernel.org with SMTP id ; Wed, 24 Oct 2001 13:40:49 -0400 Date: Wed, 24 Oct 2001 15:41:02 -0200 (BRST) From: Rik van Riel X-X-Sender: To: James Sutherland Cc: Jan Kara , Neil Brown , , Subject: Re: RFC - tree quotas for Linux (2.4.12, ext2) In-Reply-To: Message-ID: X-spambait: aardvark@kernelnewbies.org X-spammeplease: aardvark@nl.linux.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 24 Oct 2001, James Sutherland wrote: > Yep, you're right: you'd need to ascend the target directory tree, > increasing the cumulative size all the way up, then do the move and > decrement the old location's totals in the same way. All wrapped up in a > transaction (on journalled FSs) or have fsck rebuild the totals on a dirty > mount. Fairly clean and painless on a JFS, It's only clean and painless when you have infinite journal space. When your filesystem's journal isn't big enough to keep track of all the quota updates from an arbitrarily deep directory tree, you're in big trouble. Rik -- DMCA, SSSCA, W3C? Who cares? http://thefreeworld.net/ http://www.surriel.com/ http://distro.conectiva.com/ - 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/