All of lore.kernel.org
 help / color / mirror / Atom feed
From: Qu Wenruo <quwenruo@cn.fujitsu.com>
To: Duncan <1i5t5.duncan@cox.net>, <linux-btrfs@vger.kernel.org>
Subject: Re: [PATCH] Btrfs: fix loading of orphan roots leading to BUG_ON
Date: Thu, 3 Mar 2016 14:26:45 +0800	[thread overview]
Message-ID: <56D7D925.8070004@cn.fujitsu.com> (raw)
In-Reply-To: <pan$91701$3af360aa$c931211b$9c451328@cox.net>



Duncan wrote on 2016/03/03 04:31 +0000:
> fdmanana posted on Wed, 02 Mar 2016 15:49:38 +0000 as excerpted:
>
>> When looking for orphan roots during mount we can end up hitting a
>> BUG_ON() (at root-item.c:btrfs_find_orphan_roots()) if a log tree is
>> replayed and qgroups are enabled.
>
> This should hit 4.6, right?  Will it hit 4.5 before release?
>
> Because I wasn't sure of current quota functionality status, but this bug
> obviously resets the counter on my ongoing "two kernel cycles with no
> known quota bugs before you try to use quotas" recommendation.

IMHO, btrfs quota is *functionally* stable.
Which means, its main function, quota accounting is stable, under almost 
all operation.

There will be some hidden corner like this one, which is not easy to 
spot during rework.
(Although it seems the regression is not caused by qgroup rework though)

>
> Meanwhile, what /is/ current quota feature status?  Other than this bug,
> is it now considered known bug free, or is more quota reworking and/or
> bug fixing known to be needed for 4.6 and beyond?

AFAIK, no planed rework for qgroup, and the most recent large qgroup 
modification is by Mark Fasheh, allowing btrfs subvolume remove to 
update qgroup accouting correctly, at Nov 2015.

>
> IOW, given that two release cycles no known bugs counter, are we
> realistically looking at that being 4.8, or are we now looking at 4.9 or
> beyond for reasonable quota stability?
>
Never heard the 2 release cycles principle, but seems to be not flex enough.
 From this point of view, every time Filipe(just an example, as he finds 
the most of bugs and corner case), some part or even the whole btrfs is 
not stable for 4 months.

Thanks,
Qu



  reply	other threads:[~2016-03-03  6:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-02 15:49 [PATCH] Btrfs: fix loading of orphan roots leading to BUG_ON fdmanana
2016-03-03  4:31 ` Duncan
2016-03-03  6:26   ` Qu Wenruo [this message]
2016-03-03  7:44     ` Duncan
2016-03-03  8:04       ` Qu Wenruo
2016-03-03  9:10   ` Filipe Manana
2016-04-14  5:34     ` Qu Wenruo
2016-04-14  9:21       ` Filipe Manana
2016-04-15  1:17         ` Qu Wenruo
2016-04-15  9:39           ` David Sterba
2016-03-03  6:29 ` Qu Wenruo
2016-03-03  9:17   ` Filipe Manana

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=56D7D925.8070004@cn.fujitsu.com \
    --to=quwenruo@cn.fujitsu.com \
    --cc=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.