]> git.proxmox.com Git - mirror_zfs.git/commitdiff
Change KM_SLEEP to TQ_SLEEP in spa_deadman()
authorTim Chase <tim@chase2k.com>
Mon, 7 Mar 2016 13:35:29 +0000 (07:35 -0600)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 9 Mar 2016 18:41:31 +0000 (10:41 -0800)
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 <tim@chase2k.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4393

module/zfs/spa_misc.c

index ec7c807a49c4a62363258074613b937753a07db0..6f2ba52f4e3e577b205cf7a6a6241cec703b524e 100644 (file)
@@ -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));
 }