All of lore.kernel.org
 help / color / mirror / Atom feed
* [lkp-developer] how to fix [not run] xfs_io fzero failed (old kernel/wrong fs?)
@ 2017-05-25  8:44 Dai Xiang
  0 siblings, 0 replies; only message in thread
From: Dai Xiang @ 2017-05-25  8:44 UTC (permalink / raw)
  To: linux-xfs; +Cc: xiangx.dai

Hi, everyone!

I met issues are as below:
generic/008      [not run] xfs_io fzero failed (old kernel/wrong fs?)
generic/009      [not run] xfs_io fzero failed (old kernel/wrong fs?)
generic/012      [not run] xfs_io fcollapse failed (old kernel/wrong
fs?)
generic/016      [not run] xfs_io fcollapse failed (old kernel/wrong
fs?)
generic/021      [not run] xfs_io fcollapse failed (old kernel/wrong
fs?)
generic/022      [not run] xfs_io fcollapse failed (old kernel/wrong
fs?)
generic/031      [not run] xfs_io fcollapse failed (old kernel/wrong
fs?)
generic/033      [not run] xfs_io fzero failed (old kernel/wrong fs?)
generic/058      [not run] xfs_io finsert failed (old kernel/wrong
fs?)
generic/060      [not run] xfs_io finsert failed (old kernel/wrong
fs?)
generic/061      [not run] xfs_io finsert failed (old kernel/wrong
fs?)
generic/064      [not run] xfs_io finsert failed (old kernel/wrong
fs?)
generic/072      [not run] xfs_io fcollapse failed (old kernel/wrong
fs?)

I read the code and retry to exec xfs_io:

root@snb-drag /lkp/benchmarks/xfstests# export TEST_DIR=/fs/sda5
root@snb-drag /lkp/benchmarks/xfstests# export TEST_DEV=/dev/sda5
root@snb-drag /lkp/benchmarks/xfstests#  export FSTYP=btrfs
root@snb-drag /lkp/benchmarks/xfstests# export SCRATCH_MNT=/fs/scratch
root@snb-drag /lkp/benchmarks/xfstests# ./check  generic/008  
FSTYP         -- btrfs
PLATFORM      -- Linux/x86_64 snb-drag 4.12.0-rc1

generic/008      [not run] xfs_io fzero failed (old kernel/wrong fs?)
Not run: generic/008
Passed all 0 tests
root@snb-drag /fs/sda5# uname -r
4.12.0-rc1
root@snb-drag /fs/sda5# uname -m
x86_64
root@snb-drag /fs/sda5# export FSTYP=xfs  
root@snb-drag /fs/sda5# xfs_io  -c "pwrite 0 20k" -c "fsync" -c "fzero
4k 8k" $TEST_DIR/$$.xfs_io
wrote 20480/20480 bytes at offset 0
20 KiB, 5 ops; 0.0000 sec (2.725 GiB/sec and 714285.7143 ops/sec)
fallocate: Operation not supported
root@snb-drag /fs/sda5# export FSTYP=ext4
root@snb-drag /fs/sda5# xfs_io  -c "pwrite 0 20k" -c "fsync" -c "fzero
4k 8k" $TEST_DIR/$$.xfs_io
wrote 20480/20480 bytes at offset 0
20 KiB, 5 ops; 0.0000 sec (3.179 GiB/sec and 833333.3333 ops/sec)
fallocate: Operation not supported


root@snb-drag /fs/sda5# xfs_io -F -f -c "pwrite 0 20k" -c "fsync" -c
"fzero 4k 8k" $TEST_DIR/$$.xfs_io
wrote 20480/20480 bytes at offset 0
20 KiB, 5 ops; 0.0000 sec (1.467 GiB/sec and 384615.3846 ops/sec)
fallocate: Operation not supported

>From the output, I can not know how to fix?
The kernel is enough new and the fs seems right.
Could you help me?

Thanks
Dai Xiang

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

only message in thread, other threads:[~2017-05-25  8:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-25  8:44 [lkp-developer] how to fix [not run] xfs_io fzero failed (old kernel/wrong fs?) Dai Xiang

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.