summaryrefslogtreecommitdiff
path: root/source4/torture/raw/raw.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-12-09 03:16:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:29:04 -0500
commit9944a67508ee437f6fd38bb2ce77ce1f5cbfac50 (patch)
tree1be2c858706eb466f6a47b36eedb8d888519252b /source4/torture/raw/raw.c
parent5235e6518cd9d9f5edac9424a4cc43023dd96b7f (diff)
downloadsamba-9944a67508ee437f6fd38bb2ce77ce1f5cbfac50.tar.gz
r20092: added a locking benchmark that should be good for benchmarking
communitcation in a CIFS clustered server. It tries to keep the connections full by setting up the next lock as each lock is done. The locking pattern is similar to the local filesystem ping pong test in junkcode, forcing a communication between nodes on each request (This used to be commit d57b9fb29860bd03cfa970bcc52ef45d17775638)
Diffstat (limited to 'source4/torture/raw/raw.c')
-rw-r--r--source4/torture/raw/raw.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/torture/raw/raw.c b/source4/torture/raw/raw.c
index 411430a5653..817105614ee 100644
--- a/source4/torture/raw/raw.c
+++ b/source4/torture/raw/raw.c
@@ -26,10 +26,11 @@
NTSTATUS torture_raw_init(void)
{
struct torture_suite *suite = torture_suite_create(
- talloc_autofree_context(),
- "RAW");
+ talloc_autofree_context(),
+ "RAW");
/* RAW smb tests */
torture_suite_add_simple_test(suite, "BENCH-OPLOCK", torture_bench_oplock);
+ torture_suite_add_simple_test(suite, "BENCH-LOCK", torture_bench_lock);
torture_suite_add_simple_test(suite, "QFSINFO", torture_raw_qfsinfo);
torture_suite_add_simple_test(suite, "QFILEINFO", torture_raw_qfileinfo);
torture_suite_add_simple_test(suite, "SFILEINFO", torture_raw_sfileinfo);