]> granicus.if.org Git - zfs/commit
Add Test: "Single task queue, recursive dispatch"
authorPrakash Surya <surya1@llnl.gov>
Tue, 6 Dec 2011 17:48:06 +0000 (09:48 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 14 Dec 2011 00:10:57 +0000 (16:10 -0800)
commitac1e5b6033811e15f6e471e720bf506e4e3b4a08
tree734c0d2946fb2fba508e4e94d4aee7b4c95f08c1
parent2c02b71b1411176905228666abf7a50a2e5f85dc
Add Test: "Single task queue, recursive dispatch"

Added another splat taskq test to ensure tasks can be recursively
submitted to a single task queue without issue. When the
taskq_dispatch_prealloc() interface is introduced, this use case
can potentially cause a deadlock if a taskq_ent_t is dispatched
while its tqent_list field is not empty. This _should_ never be
a problem with the existing taskq_dispatch() interface.

Signed-off-by: Prakash Surya <surya1@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #65
module/splat/splat-taskq.c