From owner-freebsd-fs@FreeBSD.ORG Sat Dec 15 16:43:45 2012 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2F94F994 for ; Sat, 15 Dec 2012 16:43:45 +0000 (UTC) (envelope-from freebsdlists@bsdunix.ch) Received: from conversation.bsdunix.ch (ns1.bsdunix.ch [82.220.1.90]) by mx1.freebsd.org (Postfix) with ESMTP id D821A8FC1B for ; Sat, 15 Dec 2012 16:43:44 +0000 (UTC) Received: from conversation.bsdunix.ch (localhost [127.0.0.1]) by conversation.bsdunix.ch (Postfix) with ESMTP id DC8A314435 for ; Sat, 15 Dec 2012 16:43:36 +0000 (UTC) X-Virus-Scanned: by amavisd-new at mail.bsdunix.ch Received: from conversation.bsdunix.ch ([127.0.0.1]) by conversation.bsdunix.ch (conversation.bsdunix.ch [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U-UEirtYtmUh for ; Sat, 15 Dec 2012 16:43:36 +0000 (UTC) Received: from toms-saftbook.home (177-185.107-92.cust.bluewin.ch [92.107.185.177]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by conversation.bsdunix.ch (Postfix) with ESMTPSA id 7628114432 for ; Sat, 15 Dec 2012 16:43:36 +0000 (UTC) Message-ID: <50CCA8B8.7010808@bsdunix.ch> Date: Sat, 15 Dec 2012 17:43:36 +0100 From: Tom User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-fs@FreeBSD.org Subject: zfs: is it possible to set metaslab_debug to 1? Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Dec 2012 16:43:45 -0000 Hi, Is it possible to set metaslab_debug to 1 on freebsd without recompiling: usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/metaslab.c /* * Metaslab debugging: when set, keeps all space maps in core to verify frees. */ static int metaslab_debug = 0; Is this even possible on FreeBSD? It often helps with ZFS perfomance issues on Solaris with lots of ram. Regards, Tom