diff options
Diffstat (limited to 'include/sys/txg.h')
-rw-r--r-- | include/sys/txg.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/sys/txg.h b/include/sys/txg.h index ed0e7297c..760d5208b 100644 --- a/include/sys/txg.h +++ b/include/sys/txg.h @@ -90,10 +90,11 @@ extern void txg_wait_synced(struct dsl_pool *dp, uint64_t txg); /* * Wait until the given transaction group, or one after it, is * the open transaction group. Try to make this happen as soon - * as possible (eg. kick off any necessary syncs immediately). - * If txg == 0, wait for the next open txg. + * as possible (eg. kick off any necessary syncs immediately) when + * should_quiesce is set. If txg == 0, wait for the next open txg. */ -extern void txg_wait_open(struct dsl_pool *dp, uint64_t txg); +extern void txg_wait_open(struct dsl_pool *dp, uint64_t txg, + boolean_t should_quiesce); /* * Returns TRUE if we are "backed up" waiting for the syncing |