ZFS_DEBUG + enable ZFS ASSERTS with INVARIANTS any objections?
Steven Hartland
killing at multiplay.co.uk
Fri Jul 26 14:46:06 UTC 2013
----- Original Message -----
From: "Andriy Gapon" <avg at FreeBSD.org>
> on 26/07/2013 17:09 Steven Hartland said the following:
>> I tried an alternative version (attached) based on Justin's feedback,
>> which but enables DEBUG in all opensolaris modules when INVARIANTS is in
>> effect.
>>
>> Unfortunately it results in all the LOR being printed so I'm not a fan
>> TBH, I prefer the option to enable ASSERTS ony by changing debug.h
>
> Hmm, I am not sure what exactly is the problem...
> LOR detection and reporting is controlled by WITNESS, as I understand, and
> WITNESS is orthogonal to INVARIANTS.
I believe theirs a connection between DEBUG and LOR reporting, specificaly
in rwlock.h when not under DEBUG RW_FLAGS includes SX_NOWITNESS.
Regards
Steve
================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it.
In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster at multiplay.co.uk.
More information about the zfs-devel
mailing list