ZFS_DEBUG + enable ZFS ASSERTS with INVARIANTS any objections?

Andriy Gapon avg at FreeBSD.org
Fri Jul 26 14:13:14 UTC 2013


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.

-- 
Andriy Gapon


More information about the zfs-devel mailing list