From 26698932a8c33a52a3d2e60e5db68386568326c7 Mon Sep 17 00:00:00 2001 From: Richard Yao Date: Thu, 1 Oct 2015 13:39:47 -0400 Subject: [PATCH] Revert "Revert "Initialize dbu_tqent in dmu_buf_init_user()"" This reverts commit 18d5edaefa8f361f975ad211c2f7855770a64edd. --- include/sys/dmu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/sys/dmu.h b/include/sys/dmu.h index 855ba5cd456b..8eab67509fb7 100644 --- a/include/sys/dmu.h +++ b/include/sys/dmu.h @@ -559,6 +559,7 @@ dmu_buf_init_user(dmu_buf_user_t *dbu, dmu_buf_evict_func_t *evict_func, ASSERT(dbu->dbu_evict_func == NULL); ASSERT(evict_func != NULL); dbu->dbu_evict_func = evict_func; + taskq_init_ent(&dbu->dbu_tqent); #ifdef ZFS_DEBUG dbu->dbu_clear_on_evict_dbufp = clear_on_evict_dbufp; #endif