]> granicus.if.org Git - zfs/commit
Add system_delay_taskq for long delay
authorChunwei Chen <tuxoko@gmail.com>
Thu, 8 Dec 2016 21:00:20 +0000 (13:00 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 8 Dec 2016 21:00:20 +0000 (14:00 -0700)
commitf200b836734550ba258a0d7e05381dc8cebf80f4
treea1abc270a47d214cf24a296c9cb1e7b657a2dac3
parent493492559e32aa77ff8a5b32572afab5b848a53b
Add system_delay_taskq for long delay

Add a dedicated system_delay_taskq for long delay like spa_deadman and
zpl_posix_acl_free. This will allow us to use system_taskq in the manner of
dispatch multiple tasks and call taskq_wait_outstanding.

Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
Closes #588
include/sys/taskq.h
module/spl/spl-taskq.c