From: "Darrick J. Wong" <darrick.wong@oracle.com>
To: Andre Noll <maan@tuebingen.mpg.de>
Cc: linux-xfs@vger.kernel.org
Subject: Re: xfs: Assertion failed in xfs_ag_resv_init()
Date: Wed, 1 May 2019 08:36:43 -0700 [thread overview]
Message-ID: <20190501153643.GL5207@magnolia> (raw)
In-Reply-To: <20190430210724.GD2780@tuebingen.mpg.de>
On Tue, Apr 30, 2019 at 11:07:24PM +0200, Andre Noll wrote:
> On Tue, Apr 30, 12:18, Darrick J. Wong wrote
> > > commit f847bda4d612744ff1812788417bd8df41a806d3
> > > Author: Dave Chinner <dchinner@redhat.com>
> > > Date: Mon Nov 19 13:31:08 2018 -0800
> > >
> > > xfs: finobt AG reserves don't consider last AG can be a runt
> > >
> > > This is a backport of upstream commit c08768977b9 and the part of
> > > 21ec54168b36 which is needed by c08768977b9.
> >
> > You could send this patch to the stable list, but my guess is that
> > they'd prefer a straight backport of all three commits...
>
> Hm, cherry-picking the first commit onto 4.9,171 already gives
> four conflicting files. The conflicts are trivial to resolve (git
> cherry-pick -xX theirs 21ec54168b36 does it), but that doesn't
> compile because xfs_btree_query_all() is missing. So e9a2599a249ed
> (xfs: create a function to query all records in a btree) is needed as
> well. But then, applying 86210fbebae (xfs: move various type verifiers
> to common file) on top of that gives non-trivial conflicts.
Ah, I suspected that might happen. Backports are hard. :(
I suppose one saving grace of the patch you sent is that it'll likely
break the build if anyone ever /does/ attempt a backport of those first
two commits. Perhaps that is the most practical way forward.
> So, for automatic backporting we would need to cherry-pick even more,
> and each backported commit should be tested of course. Given this, do
> you still think Greg prefers a rather large set of straight backports
> over the simple commit that just pulls in the missing function?
I think you'd have to ask him that, if you decide not to send
yesterday's patch.
> I guess the important question is how much impact this issue
> has on production systems (i.e., on CONFIG_XFS_DEBUG=n kernels,
> where the assert statement is not compiled in). If the unpatched
> xfs_inobt_max_size() is very unlikely to cause problems on such
> systems, we might as well live with it.
...but it's unlikely to cause problems since the allocator will probably
pass over that runt AG so long as the others have more space and it will
mostly stay empty.
(He says knocking on wood knowing that he's now tempted fate :P)
--D
>
> Thanks
> Andre
> --
> Max Planck Institute for Developmental Biology
> Max-Planck-Ring 5, 72076 Tübingen, Germany. Phone: (+49) 7071 601 829
> http://people.tuebingen.mpg.de/maan/
next prev parent reply other threads:[~2019-05-01 15:39 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-30 12:14 xfs: Assertion failed in xfs_ag_resv_init() Andre Noll
2019-04-30 15:11 ` Darrick J. Wong
2019-04-30 16:25 ` Andre Noll
2019-04-30 17:40 ` Darrick J. Wong
2019-04-30 19:05 ` Andre Noll
2019-04-30 19:18 ` Darrick J. Wong
2019-04-30 21:07 ` Andre Noll
2019-05-01 15:36 ` Darrick J. Wong [this message]
2019-05-01 16:59 ` Andre Noll
2019-05-01 17:15 ` Greg Kroah-Hartman
2019-05-01 17:51 ` Andre Noll
2019-05-01 19:28 ` Darrick J. Wong
2019-05-01 22:11 ` Dave Chinner
2019-05-02 11:44 ` Greg Kroah-Hartman
2019-05-02 11:45 ` Greg Kroah-Hartman
2019-05-02 13:20 ` Sasha Levin
2019-05-02 14:10 ` Greg Kroah-Hartman
2019-05-02 15:27 ` Andre Noll
2019-05-02 16:52 ` Greg Kroah-Hartman
2019-05-02 17:45 ` Andre Noll
2019-05-02 17:55 ` Sasha Levin
2019-05-02 12:34 ` Sasha Levin
2019-05-01 17:00 ` Andre Noll
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=20190501153643.GL5207@magnolia \
--to=darrick.wong@oracle.com \
--cc=linux-xfs@vger.kernel.org \
--cc=maan@tuebingen.mpg.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox