X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=module%2Fzfs%2Ftxg.c;h=6e64adf9376e5c97a8cfb823caf796c0c9cb6b8f;hb=c8df41538db3723edf3536379a78fbaf68f037d0;hp=d0d2b1716e88688df4d05857f537d2af7f0feb39;hpb=cddafdcbc55a38cdbdd3dc8c58f447b22bd847ee;p=zfs.git diff --git a/module/zfs/txg.c b/module/zfs/txg.c index d0d2b17..6e64adf 100644 --- a/module/zfs/txg.c +++ b/module/zfs/txg.c @@ -524,6 +524,8 @@ txg_delay(dsl_pool_t *dp, uint64_t txg, int ticks) (void) cv_timedwait(&tx->tx_quiesce_more_cv, &tx->tx_sync_lock, timeout); + DMU_TX_STAT_BUMP(dmu_tx_delay); + mutex_exit(&tx->tx_sync_lock); }