On Thu, Feb 04, 2010 at 10:53:23AM -0600, Eric Sandeen wrote:
> Fedora, long ago, disabled debug in the xfsprogs specfile:
> * Wed Apr 20 2005 Dave Jones <davej@xxxxxxxxxx>
> - Disable debug. (#151438)
> per this bug: https://bugzilla.redhat.com/show_bug.cgi?id=151438
> referencing this email thread:
> which no longer exists (grrrr) but is probably now here:
> Fedora still builds with -DNDEBUG, but the upstream tarball has
> it on by default. I have seen several occasions where other
> distros had failing xfs_repairs which were "fixed" by disabling
> debug. I'd like to make a decision on whether DEBUG should be
> on or off by default for upstream releases. Any thoughts?
Personally I'd prefer the repair process to stop if it comes across
inconsistencies it can't handle. Ignoring them is as likely to "fix"
the crash as it is to corrupt the filesystem more.
On top of that we get bug reports when those problems are hit so
we can look into what caused the problem. We don't really have a
repair test suite that covers all the possible corruptions that
can occur, so we are kind of reliant on users reporting conditions
we've never had to handle before so we can fix them...