s4:torture/smb2: teach smb2.bench.path-contention-shared about --option="torture...
commit8ee783c4803d28cccc39144afa7b78c4b9e0cc2e
authorStefan Metzmacher <metze@samba.org>
Wed, 10 Aug 2022 11:43:20 +0000 (10 11:43 +0000)
committerJeremy Allison <jra@samba.org>
Thu, 11 Aug 2022 18:28:36 +0000 (11 18:28 +0000)
treeb409b7d26150bb895a82662bc207596f7e695b1e
parent72caffbe1115c57ad38270eaeb951f6b97bf62b3
s4:torture/smb2: teach smb2.bench.path-contention-shared about --option="torture:qdepth=4"

This can now test more than one open/close loop per connection.

time smbtorture //127.0.0.1/m -Uroot%test \
smb2.create.bench-path-contention-shared \
--option='torture:bench_path=' \
--option="torture:timelimit=60" \
--option="torture:nprocs=1" \
--option="torture:qdepth=4"

The default is still 1, but it's very useful for tests.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/torture/smb2/create.c