From: Duncan <1i5t5.duncan@cox.net>
To: linux-btrfs@vger.kernel.org
Subject: Re: Quota question
Date: Sat, 1 Nov 2014 07:00:20 +0000 (UTC) [thread overview]
Message-ID: <pan$db0e5$7ee7229b$da3a292b$c1219b2@cox.net> (raw)
In-Reply-To: F924EC8F-D124-4E6D-A8FE-E03D82A8DAB8@free.fr
Cyril Scetbon posted on Fri, 31 Oct 2014 09:45:23 +0100 as excerpted:
> Besides the first question, I met an issue using parent groups (see
> http://pastebin.com/asT5ZFsi). I can't reproduce it all the time, but it
> seems to appear frequently. Is there any know BUG that can be the source
> of this error ? I'm using version 3.12 on Trusty
I don't use quotas personally, but I know for quite some time they were
essentially "broken" in certain instances. My recommendation as a list
regular then was, unless your goal is specific quota-feature-testing, if
you /need/ quotas, use a more mature filesystem that can reliably provide
them; if you don't need quotas, turn them off and avoid the quota related
btrfs bugs.
Recently, around 3.16 timeframe I believe, there was quite a btrfs quota-
subsystem rewrite designed to tackle and eliminate these problems. Now
since I don't use quotas personally and I've not seen a definitive
statement on-list one way or the other I'm not sure if the full rewrite
is done yet or not, but I've not see further followup patches either, so
barring further information to the contrary I'd guess it is. However,
it's still early in the history of the new code and it's still just
that, new. While I've not seen many quota-related bug reports from it,
it may well be that enough people took the general recommendation above
that it simply hasn't gotten much testing.
So I honestly can't say what the state of the new quota code is, but one
thing I can say for sure is that the quota code in 3.12 is the old code,
known to be broken and now rewritten, dead quota code. So for sure I'd
say don't use it. It's known to be broken and there's simply no reason
to do so.
But with the rewrite you now have three choices instead of two. If you
need quotas and are up for testing relatively new code (and btrfs itself
isn't exactly the maturest around, so if you're not up for testing new
code, why are you running btrfs at all?), try a recent enough btrfs that
you are running the new quota code and your tests and potentially bug
reports will be actually worthwhile. I just read today that Ubuntu is
maintaining the 3.16 kernel for somewhat longer in coordination with
their distro releases, after Greg recently released the last planned
regular stable 3.16 release, so that's a reasonable kernel series to
settle with. I /think/ it has the new quota code, and certainly, the bad
bug in the 3.15 series is fixed (in 3.16.2) and the bug that plagued
3.17, now fixed in 3.18-rc2 and headed for 3.17 stable, wouldn't be in
3.16 stable either. Or you can of course follow current mainline.
The other two choices are as before, turn off quotas in btrfs, or switch
to a more mature filesystem with reliable quota support. But staying
with 3.12 with btrfs quotas enabled simply doesn't make sense, because as
I said, the quota code there is dead and known broken, so that's not a
reasonable option at all.
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
next prev parent reply other threads:[~2014-11-01 7:00 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-30 18:37 Quota question Cyril Scetbon
2014-10-31 8:45 ` Cyril Scetbon
2014-11-01 7:00 ` Duncan [this message]
2014-11-01 20:53 ` Cyril Scetbon
2014-11-02 1:53 ` Chris Murphy
2014-11-02 10:42 ` Cyril Scetbon
2014-11-02 21:48 ` Chris Murphy
2014-11-05 20:52 ` Cyril Scetbon
2014-11-07 20:20 ` Christoph Hellwig
2014-11-07 19:06 ` Cyril Scetbon
2014-11-08 2:36 ` Duncan
2014-11-09 17:55 ` Cyril Scetbon
2014-11-09 22:10 ` Cyril Scetbon
2014-11-12 14:04 ` Cyril Scetbon
2014-11-12 16:01 ` Wang Shilong
2014-11-13 3:05 ` Dongsheng Yang
2014-11-13 9:40 ` Dongsheng Yang
2014-11-13 10:49 ` Cyril Scetbon
-- strict thread matches above, loose matches on Subject: below --
2014-10-30 16:28 Cyril Scetbon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='pan$db0e5$7ee7229b$da3a292b$c1219b2@cox.net' \
--to=1i5t5.duncan@cox.net \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.