From 478c5b4f3f08abe2a382a3fe88da65c175d40cdc Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Thu, 11 Jan 2024 19:43:38 +1100 Subject: [PATCH] freebsd: fix compile for spa_taskq_read/spa_taskq_write params Missed in #15696, backporting #15675. Signed-off-by: Rob Norris --- include/os/freebsd/spl/sys/mod_os.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/os/freebsd/spl/sys/mod_os.h b/include/os/freebsd/spl/sys/mod_os.h index 46ea2d15ac..b62331b3ba 100644 --- a/include/os/freebsd/spl/sys/mod_os.h +++ b/include/os/freebsd/spl/sys/mod_os.h @@ -92,6 +92,12 @@ #define param_set_max_auto_ashift_args(var) \ CTLTYPE_U64, &var, 0, param_set_max_auto_ashift, "QU" +#define spa_taskq_read_param_set_args(var) \ + CTLTYPE_STRING, NULL, 0, spa_taskq_read_param, "A" + +#define spa_taskq_write_param_set_args(var) \ + CTLTYPE_STRING, NULL, 0, spa_taskq_write_param, "A" + #define fletcher_4_param_set_args(var) \ CTLTYPE_STRING, NULL, 0, fletcher_4_param, "A"