HomeFreeBSD

Initialize dbu_tqent in dmu_buf_init_user()

Description

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

Details

Provenance
Tim Chase <tim@chase2k.com>Authored on May 16 2015, 3:40 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on May 18 2015, 6:39 PM
Parents
rG7fec46b9d896: Illumos 5847 - libzfs_diff should check zfs_prop_get() return
Branches
Unknown
Tags
Unknown