xfs
[Top] [All Lists]

Re: [RFC] directory quota survey on xfs

To: xfs@xxxxxxxxxxx
Subject: Re: [RFC] directory quota survey on xfs
From: Arkadiusz MiÅkiewicz <arekm@xxxxxxxx>
Date: Mon, 23 Dec 2013 10:12:19 +0100
Cc: Dave Chinner <david@xxxxxxxxxxxxx>, linux-ext4@xxxxxxxxxxxxxxx, "Theodore Ts'o" <tytso@xxxxxxx>, Andreas Dilger <adilger.kernel@xxxxxxxxx>, Dmitry Monakhov <dmonakhov@xxxxxxxxxx>, Ben Myers <bpm@xxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maven.pl; s=maven; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=pd09V6mu+vwrp8lWqh2U89XDAnxf3gPsoP3C6t8apOQ=; b=A5zKEcWBHe66SnO/Qhlpa1GI5BCr1wt42gHNn2pzCvzVdg4sntkcpal/5t5ZLAP5ZJ JDXyffPQn2tCcdDj+rzTCui1uF352jEGYJTlGqQvi56pSchJfrSMhjD1gdGhWke3ETzp wCjYqXg91QawLchHp3zOdsg2qRaV7n39H5QCM=
In-reply-to: <20131223014222.GC3220@dastard>
References: <20131222095929.GA11444@xxxxxxxxx> <20131223014222.GC3220@dastard>
User-agent: KMail/1.13.7 (Linux/3.12.6-dirty; KDE/4.12.0; x86_64; ; )
On Monday 23 of December 2013, Dave Chinner wrote:

> > As always, any comment or idea are welcome.
> 
> I'd suggest that you implement project quotas, not directory quotas.
> They are way more flexible than pure directory quotas, but with only
> a few lines of code and a special directory flag they can be used to
> > implement directory subtree quotas....

Would be also nice to allow a file to belong to more than one project.

Let say I want to have

/projects/ with 10GB quota
and
/projects/projectA/ with 1GB quota
/projects/projectB/ with 2GB quota
and so on that's still limited by /projects/ 10GB quota limit.

(and can't use user/group quota for that since the files belong to various 
users/groups)

-- 
Arkadiusz MiÅkiewicz, arekm / maven.pl

<Prev in Thread] Current Thread [Next in Thread>