linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Brian Foster <bfoster@redhat.com>
To: xfs@oss.sgi.com
Subject: xfs readdir hang on for-next (3.15.0-rc1)
Date: Mon, 14 Apr 2014 12:43:14 -0400	[thread overview]
Message-ID: <20140414164313.GA62307@bfoster.bfoster> (raw)

Hi all,

This is a heads up that I'm seeing a blatant readdir hang on the current
for-next with selinux enabled. To reproduce, I format a clean fs, mount
and attempt an ls.

The problem does not occur with selinux disabled, if I back out the
following commit:

40194ecc6d78 xfs: reinstate the ilock in xfs_readdir

... or if I remove the locking around xfs_attr_get(), so I suspect this
is another instance of a recursive deadlock. I'm getting no output
whatsoever in order to confirm this and it also leads to a complete
system lockup. It's also interesting that this hasn't been observed
until now, given the above commit was introduced in 3.14. So the above
commit doesn't appear to be the most recent change that triggers this.

I reproduced on the latest linus tree and do not reproduce on 3.14, so
I'm trying to do a bisect to find out what else might have changed to
trigger this.

Brian

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

             reply	other threads:[~2014-04-14 16:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-14 16:43 Brian Foster [this message]
2014-04-14 19:08 ` xfs readdir hang on for-next (3.15.0-rc1) Brian Foster
2014-04-14 20:57   ` Peter Zijlstra
2014-04-14 21:47     ` Michael L. Semon
2014-04-14 22:06     ` Brian Foster

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=20140414164313.GA62307@bfoster.bfoster \
    --to=bfoster@redhat.com \
    --cc=xfs@oss.sgi.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).