From: Dave Chinner <david@fromorbit.com>
To: fstests@vger.kernel.org
Subject: copy_file_range test failures, maybe iscsi related?
Date: Fri, 29 Sep 2017 19:22:41 +1000 [thread overview]
Message-ID: <20170929092241.GD15067@dastard> (raw)
Hi folks,
I've just got my iscsi test systems back up and running and I'm
seeing tests generic/43[014] all getting stuck in the same way.
xfs_io is hard looping and not making progress, and the strace
output looks like this:
.....
copy_file_range(4, [1000], 3, [0], 100, 0) = 0
copy_file_range(4, [1000], 3, [0], 100, 0) = 0
copy_file_range(4, [1000], 3, [0], 100, 0) = 0
copy_file_range(4, [1000], 3, [0], 100, 0) = 0
copy_file_range(4, [1000], 3, [0], 100, 0) = 0
copy_file_range(4, [1000], 3, [0], 100, 0) = 0
copy_file_range(4, [1000], 3, [0], 100, 0) = 0
copy_file_range(4, [1000], 3, [0], 100, 0) = 0
copy_file_range(4, [1000], 3, [0], 100, 0) = 0
copy_file_range(4, [1000], 3, [0], 100, 0) = 0
copy_file_range(4, [1000], 3, [0], 100, 0) = 0
copy_file_range(4, [1000], 3, [0], 100, 0) = 0
copy_file_range(4, [1000], 3, [0], 100, 0) = 0
copy_file_range(4, [1000], 3, [0], 100, 0) = 0
.....
I can kill the xfs_io process and the test then fails and moves on
to the next, so it appears there's a problem with the
copy_file_range() implementation. On the same kernel (4.14-rc2) but
different devices (local SSD, ram disk or pmem) there is no problems
being reported by these tests and they complete extremely quickly.
It's clearly not related to XFS's reflink mkfs option, because I can
reproduce it on filesystems without that option enabled. And I just
reproduced it on an ext4 filesystem, too, so this implies it is
probably an iscsi copy offload bug.
Is anyone else running xfstests on iscsi devices, and if so, are
they seeing these problems?
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
reply other threads:[~2017-09-29 9:22 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=20170929092241.GD15067@dastard \
--to=david@fromorbit.com \
--cc=fstests@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