]> git.proxmox.com Git - mirror_zfs.git/commit
Initialize dbu_tqent in dmu_buf_init_user()
authorTim Chase <tim@chase2k.com>
Sat, 16 May 2015 15:40:45 +0000 (10:40 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 18 May 2015 18:39:14 +0000 (11:39 -0700)
commitf467b05a265abcfb8e5a3269f79d08f36a58646a
tree7679b0c095920e7f2db4e2277d64ec6d878a91eb
parent7fec46b9d8967109ad289d208e8cf36a0c16e40c
Initialize dbu_tqent in dmu_buf_init_user()

The dbu_evict_taskq added in 0c66c32d is only invoked via
taskq_dispatch_ent(). In these cases, ZoL's implementation of taskqs
requires the entries to be initialized first with taskq_init_ent() in
order that, among other things, the embedded spinlock is initialized
properly.

Signed-off-by: Tim Chase <tim@chase2k.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3419
include/sys/dmu.h