diff options
author | Ned Bass <[email protected]> | 2010-06-30 17:34:57 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2010-07-01 10:59:52 -0700 |
commit | 55f10ae5e91817e339f89e312a747ef6bc2dde66 (patch) | |
tree | e5209680d40f8172c76fd8412e33f68f00167dbe /module/spl | |
parent | 1a73940d39f07332921a7f78eaca9bd9266c5c7a (diff) |
Implementation of a regression test for TQ_FRONT.
Use 3 threads and 8 tasks. Dispatch the final 3 tasks with TQ_FRONT.
The first three tasks keep the worker threads busy while we stuff the
queues. Use msleep() to force a known execution order, assuming
TQ_FRONT is properly honored. Verify that the expected completion
order occurs.
The splat_taskq_test5_order() function may be useful in more than
one test. This commit generalizes it by renaming the function to
splat_taskq_test_order() and adding a name argument instead of
assuming SPLAT_TASKQ_TEST5_NAME as the test name.
The documentation for splat taskq regression test #5 swaps the two required
completion orders in the diagram. This commit corrects the error.
Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'module/spl')
0 files changed, 0 insertions, 0 deletions