From: Dai Xiang <xiangx.dai@intel.com>
To: linux-xfs@vger.kernel.org
Cc: xiangx.dai@intel.com
Subject: [lkp-developer] how to fix [not run] xfs_io fzero failed (old kernel/wrong fs?)
Date: Thu, 25 May 2017 16:44:48 +0800 [thread overview]
Message-ID: <20170525084448.GA27518@localhost> (raw)
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
reply other threads:[~2017-05-25 8:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20170525084448.GA27518@localhost \
--to=xiangx.dai@intel.com \
--cc=linux-xfs@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).