aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/zil.h
diff options
context:
space:
mode:
authorMatthew Macy <[email protected]>2019-10-10 15:39:44 -0700
committerBrian Behlendorf <[email protected]>2019-10-10 15:39:44 -0700
commiteedb3a62b9f16b989aa02d00db63de5dff200572 (patch)
tree23f6bbb2d6480eb3f87aa081fcb16a1b41e85ee5 /include/sys/zil.h
parentf3dc4a85e92712a71ede0f81d6749f479cccf893 (diff)
Make `zil_async_to_sync` visible to platform code
FreeBSD's zvol platform code requires access to the zil_async_to_sync() function. Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Matt Macy <[email protected]> Closes #9440
Diffstat (limited to 'include/sys/zil.h')
-rw-r--r--include/sys/zil.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/zil.h b/include/sys/zil.h
index 6b038a9dd..e84fb864a 100644
--- a/include/sys/zil.h
+++ b/include/sys/zil.h
@@ -493,6 +493,7 @@ extern itx_t *zil_itx_create(uint64_t txtype, size_t lrsize);
extern void zil_itx_destroy(itx_t *itx);
extern void zil_itx_assign(zilog_t *zilog, itx_t *itx, dmu_tx_t *tx);
+extern void zil_async_to_sync(zilog_t *zilog, uint64_t oid);
extern void zil_commit(zilog_t *zilog, uint64_t oid);
extern void zil_commit_impl(zilog_t *zilog, uint64_t oid);