]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/dmu_tx.c
Add visibility in to dmu_tx_assign times
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 2 Oct 2013 18:43:52 +0000 (11:43 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 25 Oct 2013 20:57:25 +0000 (13:57 -0700)
commit2d37239a28b8b2ddc0e8312093f8d8810c6351fa
tree93885704a95285d91b28baca4df8fe57ea3efcf5
parent0b1401ee911c5a0c0bdb7a8e6ad36840cea3af24
Add visibility in to dmu_tx_assign times

This change adds a new kstat to gain some visibility into the
amount of time spent in each call to dmu_tx_assign. A histogram
is exported via the new dmu_tx_assign file. The information
contained in this histogram is the frequency dmu_tx_assign
took to complete given an interval range.

Signed-off-by: Prakash Surya <surya1@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
include/sys/spa.h
module/zfs/dmu_tx.c
module/zfs/spa_stats.c