summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorAlex Zhuravlev <[email protected]>2014-11-13 10:09:05 -0800
committerBrian Behlendorf <[email protected]>2014-12-22 16:14:30 -0800
commit5b2926547f1b7c40b967b895de5c0d1c45a3e65a (patch)
tree4681d16edf6164ed07edef85a9d64b3bcb6228e4 /module
parent107077a193a5c35e83ab3ba890c429f31736d055 (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')
-rw-r--r--module/zfs/arc.c2
-rw-r--r--module/zfs/dbuf.c1
-rw-r--r--module/zfs/zil.c24
3 files changed, 27 insertions, 0 deletions
diff --git a/module/zfs/arc.c b/module/zfs/arc.c
index defcdd4bd..56c2e5735 100644
--- a/module/zfs/arc.c
+++ b/module/zfs/arc.c
@@ -5619,6 +5619,8 @@ l2arc_stop(void)
}
#if defined(_KERNEL) && defined(HAVE_SPL)
+EXPORT_SYMBOL(arc_buf_size);
+EXPORT_SYMBOL(arc_write);
EXPORT_SYMBOL(arc_read);
EXPORT_SYMBOL(arc_buf_remove_ref);
EXPORT_SYMBOL(arc_buf_info);
diff --git a/module/zfs/dbuf.c b/module/zfs/dbuf.c
index 4f1750650..b414c756e 100644
--- a/module/zfs/dbuf.c
+++ b/module/zfs/dbuf.c
@@ -2968,4 +2968,5 @@ EXPORT_SYMBOL(dmu_buf_set_user_ie);
EXPORT_SYMBOL(dmu_buf_update_user);
EXPORT_SYMBOL(dmu_buf_get_user);
EXPORT_SYMBOL(dmu_buf_freeable);
+EXPORT_SYMBOL(dmu_buf_get_blkptr);
#endif
diff --git a/module/zfs/zil.c b/module/zfs/zil.c
index b69a7bf56..27f1f89a0 100644
--- a/module/zfs/zil.c
+++ b/module/zfs/zil.c
@@ -2237,6 +2237,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");