[RFQ] make witness panic an option
Adrian Chadd
adrian at freebsd.org
Fri Nov 16 18:18:35 UTC 2012
On 16 November 2012 00:26, Alfred Perlstein <bright at mu.org> wrote:
> Adding another option to tag asserts so that it was sort of like:
>
> KASSERT((cond, section, "string")); would be interesting, then you could
> turn KASSERTS on based on "vfs" or possibly file by file.
That's orthogonal to my developer-focused request. I'm also a big fan
of correctly using asserts/panics - ie, asserts shouldn't replace
correct error handling.
(Yes, I'm guilty of this in ath(4), but I have plans soon to rectify this.)
Adrian
More information about the freebsd-hackers
mailing list