All of lore.kernel.org
 help / color / mirror / Atom feed
* Question about reflink tests in xfstests
@ 2018-10-12 10:11 Xiao Yang
  0 siblings, 0 replies; only message in thread
From: Xiao Yang @ 2018-10-12 10:11 UTC (permalink / raw)
  To: Darrick J. Wong; +Cc: xfs, fstests

Hi Darrick,

Sorry to bother you.

With xfsprogs v4.19.0-rc0 on kernel v4.19.0-rc7, running xfs/127 alway
get the following error:
---------------------------------------------------------------
FSTYP         -- xfs (non-debug)
PLATFORM      -- Linux/x86_64 RHEL8U0Alpha_Intel64 4.19.0-rc7+
MKFS_OPTIONS  -- -f -m rmapbt=1,reflink=1 /dev/sda8
MOUNT_OPTIONS -- -o context=system_u:object_r:root_t:s0 /dev/sda8 /mnt/xfstests/scratch

xfs/127 21s ... _check_xfs_filesystem: filesystem on /dev/sda8 is inconsistent (c)
(see /var/lib/xfstests/results//xfs/127.full for details)
...
---------------------------------------------------------------

cat /var/lib/xfstests/results//xfs/127.full
---------------------------------------------------------------
*** xfs_check output ***
agi_freecount 57, counted 56 in ag 0
sb_ifree 57, counted 56
*** end xfs_check output
----------------------------------------------------------------

>From xfs/139, xfs/140 and xfs/233, xfs_check also triggers the similar issue, as below:

cat /var/lib/xfstests/results/xfs/139.full
----------------------------------------------------------------
*** xfs_check output ***
agi_freecount 58, counted 61 in ag 0
agf_freeblks 160, counted 8179 in ag 1
agf_longest 160, counted 8179 in ag 1
agf_freeblks 3910, counted 8179 in ag 2
agf_longest 3910, counted 8179 in ag 2
agf_freeblks 160, counted 8179 in ag 3
agf_longest 160, counted 8179 in ag 3
agf_freeblks 3910, counted 8179 in ag 4
agf_longest 3910, counted 8179 in ag 4
sb_ifree 58, counted 61
sb_fdblocks 5210741, counted 5235317
sb_fdblocks 5210741, aggregate AGF count 5235317
*** end xfs_check output
----------------------------------------------------------------

cat /var/lib/xfstests/results/xfs/140.full
----------------------------------------------------------------
*** xfs_check output ***
agf_freeblks 8163, counted 8171 in ag 0
agf_longest 8163, counted 8168 in ag 0
agi_freecount 57, counted 61 in ag 0
block 1/8062 expected type unknown got freelist
block 1/8066 expected type unknown got freelist
block 1/8068 expected type unknown got freelist
block 1/8069 expected type unknown got freelist
block 1/8070 expected type unknown got freelist
...
----------------------------------------------------------------


cat /var/lib/xfstests/results/xfs/233.full
----------------------------------------------------------------
*** xfs_check output ***
agf_freeblks 4030, counted 4015 in ag 0
agf_longest 4027, counted 4012 in ag 0
agi_freecount 57, counted 56 in ag 0
sb_ifree 57, counted 56
sb_fdblocks 5233119, counted 5233104
sb_fdblocks 5233119, aggregate AGF count 5233104
*** end xfs_check output
----------------------------------------------------------------

I am not sure if this is a XFS bug or these tests need to be fixed.
Could you help me answer the root cause of these failures?

Best Regards,
Xiao Yang

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-10-12 17:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-12 10:11 Question about reflink tests in xfstests Xiao Yang

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.