Factor Linux specific code out of spa_misc.c

Move these Linux module parameter get/set helpers in to
platform specific code.

Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@ixsystems.com>
Signed-off-by: Matt Macy <mmacy@FreeBSD.org>
Closes #9457
This commit is contained in:
Matthew Macy
2019-10-31 09:52:22 -07:00
committed by Brian Behlendorf
parent 936e2d6d3e
commit 2a3aa5a109
6 changed files with 125 additions and 77 deletions
+1 -1
View File
@@ -433,7 +433,7 @@ struct spa {
};
extern char *spa_config_path;
extern int spa_slop_shift;
extern void spa_taskq_dispatch_ent(spa_t *spa, zio_type_t t, zio_taskq_type_t q,
task_func_t *func, void *arg, uint_t flags, taskq_ent_t *ent);
extern void spa_taskq_dispatch_sync(spa_t *, zio_type_t t, zio_taskq_type_t q,