zfs: is it possible to set metaslab_debug to 1?

Tom freebsdlists at bsdunix.ch
Sun Dec 16 14:47:37 UTC 2012


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


More information about the freebsd-fs mailing list