Re: why isn't quota dependant on ext2?

Gerhard Mack (gmack@innerfire.net)
Wed, 22 Jan 2003 23:25:24 -0500 (EST)


On Wed, 22 Jan 2003, Andrew Morton wrote:
> > >> > ext3, ufs and udf also use the core quota code.
> > >>
> > >> The documentation says it only works with ext2 where would I find working
> > >> utilities to get it working on ext3 ?
> > >
> > > ext3 uses the same tools as ext2 - checkquota, quotaon, etc.
> > >
> > > http://quota-tools.sourceforge.net/ (site seems to be broken)
> >
> > The bad news is that quota on ext3 is virtually guaranteed
> > to deadlock, so you can do it, but you do not want to do it.
>
> Darnit, I had all that working 18 months ago ;)
>
> > The original memo describes a deadlock in RH 2.4.18-5, which
> > I assure you, was NOT fixed in Marcelo 2.4.20.
>
> Yes, that's a common ext3 problem. A journal_start()/journal_stop() pair is
> the same, for locking purposes, as down()/up(). So they need to be ranked
> consistently.
>
> Let me crunch on that a bit...
>

Thanks for the warning .. I was just about to restart my attempt at
sparc+ext3+quota.

Gerhard

PS the help item for quota states that it only functions with ext2.

--
Gerhard Mack

gmack@innerfire.net

<>< As a computer I find your faith in technology amusing.

- 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/