mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
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
This commit is contained in:
committed by
Brian Behlendorf
parent
493492559e
commit
f200b83673
@@ -129,6 +129,8 @@ typedef struct taskq_thread {
|
||||
|
||||
/* Global system-wide dynamic task queue available for all consumers */
|
||||
extern taskq_t *system_taskq;
|
||||
/* Global dynamic task queue for long delay */
|
||||
extern taskq_t *system_delay_taskq;
|
||||
|
||||
/* List of all taskqs */
|
||||
extern struct list_head tq_list;
|
||||
|
||||
Reference in New Issue
Block a user