aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/dsl_pool.c
diff options
context:
space:
mode:
authorNed Bass <[email protected]>2013-09-30 16:29:37 -0700
committerBrian Behlendorf <[email protected]>2013-10-10 16:56:51 -0700
commit40a806df259c0b826b8e962579dff64e8dfbf0d7 (patch)
tree63bca05419589a7dcc03d3ac9ae0e375937b9866 /module/zfs/dsl_pool.c
parent222b94805903dfa6879565ab9b1c8e3b0d70cbdf (diff)
Export symbols dsl_pool_config_{enter,exit}
These are needed by consumers (i.e. Lustre) who wish to use the dsl_prop_register() interface to register callbacks when pool properties of interest change. This interface requires that the DSL pool configuration lock is held when called. Signed-off-by: Brian Behlendorf <[email protected]> Closes #1762
Diffstat (limited to 'module/zfs/dsl_pool.c')
-rw-r--r--module/zfs/dsl_pool.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/module/zfs/dsl_pool.c b/module/zfs/dsl_pool.c
index b59e056bf..da4a9df85 100644
--- a/module/zfs/dsl_pool.c
+++ b/module/zfs/dsl_pool.c
@@ -1229,6 +1229,9 @@ dsl_pool_config_held(dsl_pool_t *dp)
}
#if defined(_KERNEL) && defined(HAVE_SPL)
+EXPORT_SYMBOL(dsl_pool_config_enter);
+EXPORT_SYMBOL(dsl_pool_config_exit);
+
module_param(zfs_no_write_throttle, int, 0644);
MODULE_PARM_DESC(zfs_no_write_throttle, "Disable write throttling");