lkml.org 
[lkml]   [2022]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [btrfs] 66a7a2412f: xfstests.btrfs.131.fail
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?

\
 
 \ /
  Last update: 2022-06-16 23:19    [W:0.039 / U:0.880 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site