git://git.camperquake.de
/
zfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add ddt_object_count() error handling
[zfs.git]
/
include
/
sys
/
txg.h
diff --git
a/include/sys/txg.h
b/include/sys/txg.h
index
e323d5e
..
2f87d74
100644
(file)
--- a/
include/sys/txg.h
+++ b/
include/sys/txg.h
@@
-108,6
+108,12
@@
extern boolean_t txg_stalled(struct dsl_pool *dp);
extern boolean_t txg_sync_waiting(struct dsl_pool *dp);
/*
extern boolean_t txg_sync_waiting(struct dsl_pool *dp);
/*
+ * Wait for pending commit callbacks of already-synced transactions to finish
+ * processing.
+ */
+extern void txg_wait_callbacks(struct dsl_pool *dp);
+
+/*
* Per-txg object lists.
*/
* Per-txg object lists.
*/
@@
-124,6
+130,9
@@
extern int txg_list_member(txg_list_t *tl, void *p, uint64_t txg);
extern void *txg_list_head(txg_list_t *tl, uint64_t txg);
extern void *txg_list_next(txg_list_t *tl, void *p, uint64_t txg);
extern void *txg_list_head(txg_list_t *tl, uint64_t txg);
extern void *txg_list_next(txg_list_t *tl, void *p, uint64_t txg);
+/* Global tuning */
+extern int zfs_txg_timeout;
+
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
}
#endif