Date: Sun, 16 Dec 2012 14:28:48 +0200 From: Andriy Gapon <avg@FreeBSD.org> To: Tom <freebsdlists@bsdunix.ch> Cc: freebsd-fs@FreeBSD.org Subject: Re: zfs: is it possible to set metaslab_debug to 1? Message-ID: <50CDBE80.7080308@FreeBSD.org> In-Reply-To: <50CCA8B8.7010808@bsdunix.ch> References: <50CCA8B8.7010808@bsdunix.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
on 15/12/2012 18:43 Tom said the following: > 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. kgdb -w set metaslab_debug=1 Were you looking for something like this? -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50CDBE80.7080308>