Re: On Removing BUG_ON macros

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Yoshinori Sano
Date: Monday, November 8, 2010 - 6:17 am

To reduce the number of such BUG_ON usages, the code will be more robust,
which results in increasing the number of Btrfs production use.
(This is one of the way, off course.)

But, as you pointed out, removing such BUG_ONs is tricky...


Is this a debugging idiom?
I cannot understand why this idiom can be used to catch all the callers.
Would you explain more about it?

Thank you,

-- 
Yoshinori Sano <yoshinori.sano@gmail.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
On Removing BUG_ON macros, Yoshinori Sano, (Sun Nov 7, 12:16 am)
Re: On Removing BUG_ON macros, Josef Bacik, (Sun Nov 7, 7:51 am)
Re: On Removing BUG_ON macros, Ian Kent, (Sun Nov 7, 7:36 pm)
Re: On Removing BUG_ON macros, Ian Kent, (Sun Nov 7, 7:54 pm)
Re: On Removing BUG_ON macros, Josef Bacik, (Mon Nov 8, 5:42 am)
Re: On Removing BUG_ON macros, Yoshinori Sano, (Mon Nov 8, 6:17 am)
Re: On Removing BUG_ON macros, Josef Bacik, (Mon Nov 8, 6:28 am)
Re: On Removing BUG_ON macros, Ian Kent, (Mon Nov 8, 7:06 am)
Re: On Removing BUG_ON macros, Josef Bacik, (Mon Nov 8, 7:15 am)
Re: On Removing BUG_ON macros, Ian Kent, (Mon Nov 8, 8:02 am)
Re: On Removing BUG_ON macros, Yoshinori Sano, (Mon Nov 8, 4:02 pm)
Re: On Removing BUG_ON macros, Yoshinori Sano, (Mon Nov 8, 11:13 pm)
Re: On Removing BUG_ON macros, Ian Kent, (Wed Nov 10, 9:32 pm)
Re: On Removing BUG_ON macros, Josef Bacik, (Wed Dec 1, 11:31 am)