From: Tim Chase Date: Mon, 7 Mar 2016 13:35:29 +0000 (-0600) Subject: Change KM_SLEEP to TQ_SLEEP in spa_deadman() X-Git-Tag: zfs-0.7.0-rc1~237 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f764edf01634444e1615a0350834ffe568f7f82f;p=zfs 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 --- 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)); }