summaryrefslogtreecommitdiffstats
path: root/include/sys/txg.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/txg.h')
-rw-r--r--include/sys/txg.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/sys/txg.h b/include/sys/txg.h
index b9bbba8be..9e547819b 100644
--- a/include/sys/txg.h
+++ b/include/sys/txg.h
@@ -74,13 +74,8 @@ extern void txg_rele_to_quiesce(txg_handle_t *txghp);
extern void txg_rele_to_sync(txg_handle_t *txghp);
extern void txg_register_callbacks(txg_handle_t *txghp, list_t *tx_callbacks);
-/*
- * Delay the caller by the specified number of ticks or until
- * the txg closes (whichever comes first). This is intended
- * to be used to throttle writers when the system nears its
- * capacity.
- */
-extern void txg_delay(struct dsl_pool *dp, uint64_t txg, int ticks);
+extern void txg_delay(struct dsl_pool *dp, uint64_t txg, hrtime_t delta,
+ hrtime_t resolution);
/*
* Wait until the given transaction group has finished syncing.