[Top] [All Lists]


To: Nathan Scott <nathans@xxxxxxx>
Subject: Re: typo in XFS_IOC_GETXFLAGS?
From: Herbert Poetzl <herbert@xxxxxxxxxxxx>
Date: Wed, 5 May 2004 02:38:11 +0200
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20040505100417.B153962@wobbly.melbourne.sgi.com>
References: <20040503215840.GA26617@MAIL.13thfloor.at> <20040504085546.B127559@wobbly.melbourne.sgi.com> <20040503230042.GA27312@MAIL.13thfloor.at> <20040504123233.D149002@wobbly.melbourne.sgi.com> <20040504105629.GA1531@MAIL.13thfloor.at> <20040505100417.B153962@wobbly.melbourne.sgi.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Wed, May 05, 2004 at 10:04:17AM +1000, Nathan Scott wrote:
> Hi Herbert,
> On Tue, May 04, 2004 at 12:56:30PM +0200, Herbert Poetzl wrote:
> > On Tue, May 04, 2004 at 12:32:34PM +1000, Nathan Scott wrote:
> > > 
> > > Actually, it turns out that both of these are fine (thought
> > > I tested this!) because the XFS_XFLAG and XFS_DIFLAG values
> > 
> > well, never said that it wouldn't work ;)
> Heh.
> > PS: is there some documentation about the XFS 
> > quota code, I'd like to extend the quota system
> > by allowing more than one quota hash for each
> > filesystem (vfsmount)
> Not really.  The code has a fairly liberal sprinkling of comments
> though, thats probably your best bet.  Can you elaborate a bit
> more on what you mean by one quota hash for each fs?  (separate
> dquot hash tables per-fs?)  Is that based on observed performance
> problems, or to provide some alternate functionality...?

I did a quota hash implementation for 2.4 and 2.6
to remove the strict sb <-> quota requirements
(this is for ext2/ext3) which is called "quota
hash abstractions", and this in turn is used by 
the Linux-VServer per context quota patches, which
basically require to have a separate 'quota' 
store (files for ext2/ext3) for each context, if
the contexts share the same filesystem ...

this works pretty well, and also allows for 
vfsmount type quota or directory based quota,
but the XFS quota is just weird to me atm, so I
didn't implement it for XFS yet ...

if you need more information, just let me know ...


> cheers.
> -- 
> Nathan

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