]> git.proxmox.com Git - mirror_zfs.git/commit
Added splat taskq task ordering test case.
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 5 Jan 2010 21:34:09 +0000 (13:34 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 5 Jan 2010 21:34:09 +0000 (13:34 -0800)
commit5562e5d105aa5120a828b38c5d1a635d852bcdde
tree6141b833d9b536eb4b7af4ebec2398bc4cd05586
parent82387586af283ac5fa6cde5d316f7ed4c587efec
Added splat taskq task ordering test case.

This test case verifies the correct behavior of taskq_wait_id().
In particular it ensure the the following two cases are handled
properly:

1) Task ids larger than the waited for task id can run and
   complete as long as there is an available worker thread.
2) All task ids lower than the waited one must complete before
   unblocking even if the waited task id itself has completed.
module/splat/splat-taskq.c