summaryrefslogtreecommitdiffstats
path: root/module/zfs/zil.c
diff options
context:
space:
mode:
authorAlex Zhuravlev <[email protected]>2014-11-13 10:09:05 -0800
committerBrian Behlendorf <[email protected]>2014-11-14 14:39:43 -0800
commit0f69910833f4918283bad1ce9e23b701fc6edb6b (patch)
tree713bdcbaf28e13c75068d4f3ca7f37b72af5c76f /module/zfs/zil.c
parent5f91bd3dea49a529e87e0aa39595f074fd09736a (diff)
Export symbols for ZIL interface
These symbols are needed by consumers (i.e. Lustre) who wish to integrate with the ZIL. In addition the zil_rollback_destroy() prototype was removed because the implementation of this function was removed long ago. Signed-off-by: Alex Zhuravlev <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #2892
Diffstat (limited to 'module/zfs/zil.c')
-rw-r--r--module/zfs/zil.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/module/zfs/zil.c b/module/zfs/zil.c
index c91bb59fc..d515a9524 100644
--- a/module/zfs/zil.c
+++ b/module/zfs/zil.c
@@ -2252,6 +2252,30 @@ zil_vdev_offline(const char *osname, void *arg)
}
#if defined(_KERNEL) && defined(HAVE_SPL)
+EXPORT_SYMBOL(zil_alloc);
+EXPORT_SYMBOL(zil_free);
+EXPORT_SYMBOL(zil_open);
+EXPORT_SYMBOL(zil_close);
+EXPORT_SYMBOL(zil_replay);
+EXPORT_SYMBOL(zil_replaying);
+EXPORT_SYMBOL(zil_destroy);
+EXPORT_SYMBOL(zil_destroy_sync);
+EXPORT_SYMBOL(zil_itx_create);
+EXPORT_SYMBOL(zil_itx_destroy);
+EXPORT_SYMBOL(zil_itx_assign);
+EXPORT_SYMBOL(zil_commit);
+EXPORT_SYMBOL(zil_vdev_offline);
+EXPORT_SYMBOL(zil_claim);
+EXPORT_SYMBOL(zil_check_log_chain);
+EXPORT_SYMBOL(zil_sync);
+EXPORT_SYMBOL(zil_clean);
+EXPORT_SYMBOL(zil_suspend);
+EXPORT_SYMBOL(zil_resume);
+EXPORT_SYMBOL(zil_add_block);
+EXPORT_SYMBOL(zil_bp_tree_add);
+EXPORT_SYMBOL(zil_set_sync);
+EXPORT_SYMBOL(zil_set_logbias);
+
module_param(zil_replay_disable, int, 0644);
MODULE_PARM_DESC(zil_replay_disable, "Disable intent logging replay");