Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Dec 2012 15:47:34 +0100
From:      Tom <freebsdlists@bsdunix.ch>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        freebsd-fs@FreeBSD.org
Subject:   Re: zfs: is it possible to set metaslab_debug to 1?
Message-ID:  <50CDDF06.2030309@bsdunix.ch>
In-Reply-To: <50CDBE80.7080308@FreeBSD.org>
References:  <50CCA8B8.7010808@bsdunix.ch> <50CDBE80.7080308@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 16.12.12 13:28, schrieb Andriy Gapon:
> 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?
> 
> 

Yes, exactly  Thank you.

Regards,
Tom



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50CDDF06.2030309>