From f764edf01634444e1615a0350834ffe568f7f82f Mon Sep 17 00:00:00 2001 From: Tim Chase Date: Mon, 7 Mar 2016 07:35:29 -0600 Subject: Change KM_SLEEP to TQ_SLEEP in spa_deadman() Since they both evaluate to zero, this is a semi-cosmetic change but the latter is the proper value to use as an argument to taskq_dispatch_delay(). Signed-off-by: Tim Chase Signed-off-by: Brian Behlendorf Closes #4393 --- module/zfs/spa_misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module') diff --git a/module/zfs/spa_misc.c b/module/zfs/spa_misc.c index ec7c807a4..6f2ba52f4 100644 --- a/module/zfs/spa_misc.c +++ b/module/zfs/spa_misc.c @@ -529,7 +529,7 @@ spa_deadman(void *arg) vdev_deadman(spa->spa_root_vdev); spa->spa_deadman_tqid = taskq_dispatch_delay(system_taskq, - spa_deadman, spa, KM_SLEEP, ddi_get_lbolt() + + spa_deadman, spa, TQ_SLEEP, ddi_get_lbolt() + NSEC_TO_TICK(spa->spa_deadman_synctime)); } -- cgit v1.2.3