All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: "Michael L. Semon" <mlsemon35@gmail.com>
Cc: "xfs@oss.sgi.com" <xfs@oss.sgi.com>
Subject: Re: Rambling noise #1: generic/230 can trigger kernel debug lock detector
Date: Mon, 13 May 2013 10:45:59 +1000	[thread overview]
Message-ID: <20130513004559.GK32675@dastard> (raw)
In-Reply-To: <518DCDB1.30408@gmail.com>

On Sat, May 11, 2013 at 12:48:49AM -0400, Michael L. Semon wrote:
> On 05/10/2013 09:17 PM, Dave Chinner wrote:
> >On Fri, May 10, 2013 at 03:07:19PM -0400, Michael L. Semon wrote:
> >>On Thu, May 9, 2013 at 10:19 PM, Dave Chinner <david@fromorbit.com> wrote:
> >>>On Thu, May 09, 2013 at 10:00:10PM -0400, Michael L. Semon wrote:
> 
> >>Thanks for looking at it.  There are going to be plenty of false
> >>positives out there.  Is there a pecking order of what works best?  As
> >>in...
> >>
> >>* IRQ (IRQs-off?) checking: worth reporting...?
> >>* sleep inside atomic sections: fascinating, but almost anything can trigger it
> >>* multiple-CPU deadlock detection: can only speculate on a uniprocessor system
> >>* circular dependency checking: YMMV
> >>* reclaim-fs checking: which I knew how much developers need to
> >>conform to reclaim-fs, or what it is
> >
> >If there's XFS in the trace, then just post them. We try to fix
> >false positives (as well as real bugs) so lockdep reporting gets more
> >accurate and less noisy over time.
> >
> >Cheers,
> >
> >Dave.
> >
> 
> Feel free to ignore and flame them as well.  I'm going to make
> another attempt to triage my eldest Pentium 4, and there's a high
> chance that you'll have to reply, "Despite the xfs_* functions, that
> looks like a DRM issue.  Go bug those guys."
> 
> Thanks!
> 
> Michael
> 
> During generic/249 (lucky, first test out)...
> ======================================================
> [ INFO: possible circular locking dependency detected ]
> 3.9.0+ #2 Not tainted
> -------------------------------------------------------
> xfs_io/1181 is trying to acquire lock:
>  (sb_writers#3){.+.+.+}, at: [<c10f01be>]
> generic_file_splice_write+0x7e/0x1b0
> 
> but task is already holding lock:
>  (&(&ip->i_iolock)->mr_lock){++++++}, at: [<c11dca9a>] xfs_ilock+0xea/0x190

Known issue. Needs VFS level changes to be fixed. I've posted
patches several times to linux-fsdevel over the past 2 years to fix
it, but I'm still waiting for them to be picked up....

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

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

  reply	other threads:[~2013-05-13  0:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-09  2:24 Rambling noise #1: generic/230 can trigger kernel debug lock detector Michael L. Semon
2013-05-09  3:16 ` Dave Chinner
2013-05-09  7:20   ` Dave Chinner
2013-05-10  2:00     ` Michael L. Semon
2013-05-10  2:19       ` Dave Chinner
2013-05-10 19:07         ` Michael L. Semon
2013-05-11  1:17           ` Dave Chinner
2013-05-11  4:48             ` Michael L. Semon
2013-05-13  0:45               ` Dave Chinner [this message]
2013-05-09 15:57   ` Mark Tinguely

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=20130513004559.GK32675@dastard \
    --to=david@fromorbit.com \
    --cc=mlsemon35@gmail.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 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.