]> git.proxmox.com Git - mirror_spl.git/commit
Mutex tests updated to use task queues instead of work queues.
authorBrian Behlendorf <behlendorf1@llnl.gov>
Sun, 15 Mar 2009 22:05:38 +0000 (15:05 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Sun, 15 Mar 2009 22:05:38 +0000 (15:05 -0700)
commit5b5f5685033b60cbd698c68b11d67150426587f5
tree3c28752829b8bbcbe2b73aa999a033fed386d736
parent8123ac4f0d7409cae209858d01803fb2744b51b6
Mutex tests updated to use task queues instead of work queues.

Mainly for portability reasons I have rebased the mutex tests on Solaris
taskqs instead of linux work queues.  The linux workqueue API changed post
2.6.18 kernels and using task queues avoids having to conditionally detect
which workqueue API to use.

Additionally, this is basically free additional testing for the task queues.
Much to my surprise after updating these test cases they did expose a long
standing bug in the taskq_wait() implementation.  This patch does not
address that issue but the followup patch does.
module/splat/splat-mutex.c