mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 03:09:34 +03:00
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 <behlendorf1@llnl.gov> Closes #1762
This commit is contained in:
parent
222b948059
commit
40a806df25
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user