From: Dave Chinner <david@fromorbit.com>
To: Justin Piszcz <jpiszcz@lucidpixels.com>
Cc: xfs@oss.sgi.com
Subject: Re: 2.6.31.6: XFS DEBUG: Assertions cause kernel OOPS.
Date: Wed, 2 Dec 2009 10:58:03 +1100 [thread overview]
Message-ID: <20091201235803.GK30608@discord.disaster> (raw)
In-Reply-To: <alpine.DEB.2.00.0912011338000.1185@p34.internal.lan>
On Tue, Dec 01, 2009 at 01:39:06PM -0500, Justin Piszcz wrote:
>
>
> On Tue, 1 Dec 2009, Dave Chinner wrote:
>
>> On Mon, Nov 30, 2009 at 08:22:03AM -0500, Justin Piszcz wrote:
>>> Hi,
>>>
>>> I wanted to compile my kernel with DEBUG for XFS and also kernel frame pointers
>>> to catch any issues.
>>>
>>> However, DEBUG for XFS does more harm than good?
>>
>> DEBUG is there for developers, not end users. Often the debug code
>> will assert fail or panic where the situation is not fatal but
>> indicative of some problem that should be looked into further.
> Dave,
>
> Recall that issue that I was having with asterisk installed?
Yes, it appeared to be caused by log IO not completing, right?
> How should
> one get more information on a filesystem lockup if we cannot have debug
> enabled for the filesystem?
The debug code in XFS won't tell you anything extra about a lock-up
unless it trips an ASSERT before the lockup that is related to the
lock-up. My experience with hangs like the above are that they
generally are not related to the filesystem at all; most of the time
it is IO not being completed by the lower layers for some reason,
and no amount of filesystem level debug will help solve that
problem.
> Should there be a user-debug option which it
> will include more verbosity if/when the xfs kernel processes lockup?
See /proc/sys/fs/xfs/error_level. That can turn up the verbosity of
error reporting without needing DEBUG compiled in.
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
prev parent reply other threads:[~2009-12-01 23:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-30 13:22 2.6.31.6: XFS DEBUG: Assertions cause kernel OOPS Justin Piszcz
2009-11-30 13:59 ` Alex Elder
2009-11-30 14:15 ` Justin Piszcz
2009-11-30 23:38 ` Dave Chinner
2009-12-01 18:39 ` Justin Piszcz
2009-12-01 23:58 ` Dave Chinner [this message]
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=20091201235803.GK30608@discord.disaster \
--to=david@fromorbit.com \
--cc=jpiszcz@lucidpixels.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