From: Al Viro <viro@ZenIV.linux.org.uk>
To: Xiong Zhou <xzhou@redhat.com>
Cc: linux-next@vger.kernel.org, inux-kernel@vger.kernel.org,
linux-fsdevel@vger.kernel.org, Dave Chinner <david@fromorbit.com>
Subject: Re: Linux-next parallel cp workload hang
Date: Wed, 18 May 2016 03:06:49 +0100 [thread overview]
Message-ID: <20160518020649.GO14480@ZenIV.linux.org.uk> (raw)
In-Reply-To: <20160518013802.GA4679@ZX.nay.redhat.com>
[dchinner Cc'd]
On Wed, May 18, 2016 at 09:38:02AM +0800, Xiong Zhou wrote:
> Hi,
>
> Parallel cp workload (xfstests generic/273) hangs like blow.
> It's reproducible with a small chance, less the 1/100 i think.
>
> Have hit this in linux-next 20160504 0506 0510 trees, testing on
> xfs with loop or block device. Ext4 survived several rounds
> of testing.
>
> Linux next 20160510 tree hangs within 500 rounds testing several
> times. The same tree with vfs parallel lookup patchset reverted
> survived 900 rounds testing. Reverted commits are attached.
>
> Bisecting in this patchset ided this commit:
>
> 3b0a3c1ac1598722fc289da19219d14f2a37b31f is the first bad commit
> commit 3b0a3c1ac1598722fc289da19219d14f2a37b31f
> Author: Al Viro <viro@zeniv.linux.org.uk>
> Date: Wed Apr 20 23:42:46 2016 -0400
>
> simple local filesystems: switch to ->iterate_shared()
>
> no changes needed (XFS isn't simple, but it has the same parallelism
> in the interesting parts exercised from CXFS).
>
> With this commit reverted on top of Linux next 0510 tree, 5000+ rounds
> of testing passed.
Joy... So much for CXFS testing, probably... All that commit changes for
XFS is allowing xfs_readdir() to be called in parallel for different struct
file. We can always revert the XFS part, of course, but it would be
interesting to find out what happens to be dependent on external exclusion
there.
next parent reply other threads:[~2016-05-18 2:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20160518013802.GA4679@ZX.nay.redhat.com>
2016-05-18 2:06 ` Al Viro [this message]
2016-05-18 1:46 Linux-next parallel cp workload hang Xiong Zhou
2016-05-18 5:56 ` Dave Chinner
2016-05-18 8:31 ` Xiong Zhou
2016-05-18 9:54 ` Dave Chinner
2016-05-18 11:46 ` Xiong Zhou
2016-05-18 14:17 ` Dave Chinner
2016-05-18 23:02 ` Dave Chinner
2016-05-19 6:22 ` Xiong Zhou
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=20160518020649.GO14480@ZenIV.linux.org.uk \
--to=viro@zeniv.linux.org.uk \
--cc=david@fromorbit.com \
--cc=inux-kernel@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=xzhou@redhat.com \
/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).