From owner-freebsd-hackers@FreeBSD.ORG Fri Nov 16 18:36:08 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2633BAE4; Fri, 16 Nov 2012 18:36:08 +0000 (UTC) (envelope-from bright@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id F2FE28FC08; Fri, 16 Nov 2012 18:36:07 +0000 (UTC) Received: from Alfreds-MacBook-Pro-5.local (c-67-180-208-218.hsd1.ca.comcast.net [67.180.208.218]) by elvis.mu.org (Postfix) with ESMTPSA id F05911A3DB3; Fri, 16 Nov 2012 10:36:06 -0800 (PST) Message-ID: <50A68796.60603@mu.org> Date: Fri, 16 Nov 2012 10:36:06 -0800 From: Alfred Perlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: Adrian Chadd Subject: Re: [RFQ] make witness panic an option References: <1353001175.1217.153.camel@revolution.hippie.lan> <1353009310.1217.172.camel@revolution.hippie.lan> <50A555BD.1010105@FreeBSD.org> <50A578A6.1030005@mu.org> <50A5E9B4.5040807@FreeBSD.org> <50A5F8C1.6010700@mu.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: attilio@freebsd.org, Ian Lepore , freebsd-arch@freebsd.org, Andriy Gapon , freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2012 18:36:08 -0000 On 11/16/12 10:18 AM, Adrian Chadd wrote: > On 16 November 2012 00:26, Alfred Perlstein 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 I apologize if you took a wishlist item for me as a request for you to take on/augment your patch. It was not my intention. Back to your work, I like your patch quite a bit, I am wondering though if it can be worked into something under witness_kdb though. -Alfred