From: David Sterba <dsterba@suse.cz>
To: Matthew Wilcox <willy@infradead.org>
Cc: kernel test robot <oliver.sang@intel.com>,
David Sterba <dsterba@suse.com>, 0day robot <lkp@intel.com>,
LKML <linux-kernel@vger.kernel.org>,
linux-btrfs@vger.kernel.org, lkp@lists.01.org
Subject: Re: [btrfs] 66a7a2412f: xfstests.btrfs.131.fail
Date: Fri, 17 Jun 2022 00:00:36 +0200 [thread overview]
Message-ID: <20220616220036.GF20633@twin.jikos.cz> (raw)
In-Reply-To: <Yqud1/SooVDamiuP@casper.infradead.org>
On Thu, Jun 16, 2022 at 10:17:11PM +0100, Matthew Wilcox wrote:
> On Thu, Jun 16, 2022 at 10:37:10PM +0800, kernel test robot wrote:
> > btrfs/131 - output mismatch (see /lkp/benchmarks/xfstests/results//btrfs/131.out.bad)
> > --- tests/btrfs/131.out 2022-06-13 17:10:24.000000000 +0000
> > +++ /lkp/benchmarks/xfstests/results//btrfs/131.out.bad 2022-06-15 18:54:06.505508542 +0000
> > @@ -2,9 +2,9 @@
> > Using free space cache
> > free space tree is disabled
> > Enabling free space tree
> > -free space tree is enabled
> > +free space tree is disabled
>
> I think I know what's going on here:
>
> compat_ro="$($BTRFS_UTIL_PROG inspect-internal dump-super "$SCRATCH_DEV"
> | \
> sed -rn 's/^compat_ro_flags\s+(.*)$/\1/p')"
> if ((compat_ro & 0x1)); then
> echo "free space tree is enabled"
> else
> echo "free space tree is disabled"
> fi
>
> dump-super is reading the super block out of the page cache, but this
> change makes the page cache incoherent with what's on disc. We could
> fix that by invalidating the page out of the page cache, but it may be
> easier to just dump this patch and fix how we use the page cache to
> write back the superblocks?
The build bot picks up the branch with some delay, I've removed it from
the pushed branches. It's interesting to see that using the page cache
vs direct write does have effects in tests, so it would need to be
unified in kernel and user space.
prev parent reply other threads:[~2022-06-16 22:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20220607154229.9164-1-dsterba@suse.com>
2022-06-16 14:37 ` kernel test robot
2022-06-16 21:17 ` Matthew Wilcox
2022-06-16 22:00 ` David Sterba [this message]
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=20220616220036.GF20633@twin.jikos.cz \
--to=dsterba@suse.cz \
--cc=dsterba@suse.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=lkp@lists.01.org \
--cc=oliver.sang@intel.com \
--cc=willy@infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®