Add 'dmu_tx' kstats entry
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 20 Jan 2012 18:58:57 +0000 (10:58 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 27 Feb 2012 16:59:10 +0000 (08:59 -0800)
commit570827e129ed81e066e894530bbe24642f473154
tree90e9128a73735df10392a24280ade08031051b68
parent13be560d89e9de63bdf63e8187af2ceb90cf094d
Add 'dmu_tx' kstats entry

Keep counters for the various reasons that a thread may end up
in txg_wait_open() waiting on a new txg.  This can be useful
when attempting to determine why a particular workload is
under performing.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
include/sys/dmu_tx.h
module/zfs/arc.c
module/zfs/dmu.c
module/zfs/dmu_tx.c
module/zfs/dsl_dataset.c
module/zfs/dsl_pool.c
module/zfs/txg.c