mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
Finish refactoring for ZFS_MODULE_PARAM_CALL
Linux and FreeBSD have different parameters for tunable proc handler. This has prevented FreeBSD from implementing the ZFS_MODULE_PARAM_CALL macro. To complete the sharing of ZFS_MODULE_PARAM_CALL declarations, create per-platform definitions of the parameter list, ZFS_MODULE_PARAM_ARGS. With the declarations wired up we discovered an incorrect scope prefix for spa_slop_shift, so this is now fixed. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ryan Moeller <ryan@iXsystems.com> Closes #10179
This commit is contained in:
+4
-4
@@ -1179,10 +1179,10 @@ extern void spa_notify_waiters(spa_t *spa);
|
||||
extern void spa_wake_waiters(spa_t *spa);
|
||||
|
||||
/* module param call functions */
|
||||
int param_set_deadman_ziotime(const char *val, zfs_kernel_param_t *kp);
|
||||
int param_set_deadman_synctime(const char *val, zfs_kernel_param_t *kp);
|
||||
int param_set_slop_shift(const char *buf, zfs_kernel_param_t *kp);
|
||||
int param_set_deadman_failmode(const char *val, zfs_kernel_param_t *kp);
|
||||
int param_set_deadman_ziotime(ZFS_MODULE_PARAM_ARGS);
|
||||
int param_set_deadman_synctime(ZFS_MODULE_PARAM_ARGS);
|
||||
int param_set_slop_shift(ZFS_MODULE_PARAM_ARGS);
|
||||
int param_set_deadman_failmode(ZFS_MODULE_PARAM_ARGS);
|
||||
|
||||
#ifdef ZFS_DEBUG
|
||||
#define dprintf_bp(bp, fmt, ...) do { \
|
||||
|
||||
Reference in New Issue
Block a user