Re: why isn't quota dependant on ext2?

Andrew Morton (akpm@digeo.com)
Wed, 22 Jan 2003 13:48:44 -0800


Pete Zaitcev <zaitcev@redhat.com> 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...

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