HomeFreeBSD

Add --enable-debug-dmu-tx configure option

Description

Add --enable-debug-dmu-tx configure option

Allow rigorous (and expensive) tx validation to be enabled/disabled
indepentantly from the standard zfs debugging. When enabled these
checks ensure that all txs are constructed properly and that a dbuf
is never dirtied without taking the correct tx hold.

This checking is particularly helpful when adding new dmu consumers
like Lustre. However, for established consumers such as the zpl
with no known outstanding tx construction problems this is just
overhead.

--enable-debug-dmu-tx - Enable/disable validation of each tx as
--disable-debug-dmu-tx it is constructed. By default validation

is disabled due to performance concerns.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Mar 20 2012, 11:00 PM
Parents
rG99ea23c583b2: Enhance a dmu_tx_dirty_buf() assertion
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG1c5de20ae251: Add --enable-debug-dmu-tx configure option (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Mar 23 2012, 7:25 PM