summaryrefslogtreecommitdiff
path: root/source4/torture/raw/lockbench.c
AgeCommit message (Collapse)AuthorFilesLines
2011-11-30s4:libcli/raw: implement on top of smbXcli_conn/reqStefan Metzmacher1-8/+18
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 30 15:13:36 CET 2011 on sn-devel-104
2011-08-13torture: use tevent_ functions names instead of the legacy event_ onesSimo Sorce1-7/+7
2011-03-19source4/torture/raw: Fix prototypes for all functions.Jelmer Vernooij1-0/+1
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-6/+6
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-05-18s3: Remove use of iconv_convenience.Jelmer Vernooij1-1/+0
2010-02-04s4-torture: handle NT_STATUS_CONNECTION_RESETAndrew Tridgell1-2/+4
a CONNECTION_RESET is now the normal "client disconnect" status code
2009-10-20s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell1-1/+0
This reduces compile time somewhat.
2009-04-01s4 torture: Addition to RAW-BENCH-LOCK to take a configurable number of ↵Zack Kirsch1-1/+19
locks before starting the test This can be useful for benchmarking as well as stress testing.
2009-02-02s4:libcliraw: s/private/private_dataStefan Metzmacher1-4/+4
metze
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher1-6/+6
list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
2008-11-02Remove another use of global_loadparm.Jelmer Vernooij1-0/+1
Eventually, we should move some of these parameters into a separate struct (perhaps into smb_transport_options?), to avoid the long lists of parameters.
2008-11-02Fix the build.Jelmer Vernooij1-1/+0
2008-11-02Remove another use of global_loadparm.Jelmer Vernooij1-0/+2
2008-10-24Eliminate another instance of global_loadparm.Jelmer Vernooij1-0/+1
2008-09-30Pass session options around; saves another use of global_loadparm.Jelmer Vernooij1-0/+1
2008-04-17Fix the build.Jelmer Vernooij1-1/+1
(This used to be commit 40b7b0e503cff31ea4e3d4822f2263fbeb76c57a)
2008-04-17Use provided event context rather than looking for it.Jelmer Vernooij1-4/+3
(This used to be commit fd0bb96acea3d7949cf0574bb6f3568a90f67f4e)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij1-0/+1
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-01-03r26654: libcli/smb_composite: Rather than specifying each of the gazillion ↵Jelmer Vernooij1-7/+1
options for SMB individually, just specify the smbcli_options struct. (This used to be commit 8a97886e24a4b969aa91409c06f423b71a45f6eb)
2008-01-03r26651: libsmb: Allow specifying signing policy from higher up.Jelmer Vernooij1-0/+1
The number of arguments is getting a bit excessive now, so it probably makes sense to pass in the smbcli_options struct rather than all members individually and add a convenience function for obtaining a smbcli_options struct from a loadparm context. (This used to be commit 9f64213463b5bf3bcbf36913139e9a5042e967a2)
2008-01-03r26650: torture/raw: Fix warnings in lockbench/openbench.Jelmer Vernooij1-3/+8
I'm surprised this didn't cause any breakages. We should probably run (a subset of) RAW-LOCKBENCH + RAW-OPENBENCH in make test to make sure they don't regress. (This used to be commit 9bea9c0c4f62dabaaad4c56e7e55da96571b1e1d)
2008-01-02r26646: libcli/smb_composite: Allow specifying SMB parameters in ↵Jelmer Vernooij1-0/+6
smb_composite_connect structure. AFAIK no global variables will now be used when doing RPC client connections. (This used to be commit 0ef75e4e3cb0e1bd10e367a00f5e9b725587c40a)
2008-01-02r26644: Janitorial: Pass resolve_context explicitly to various SMB ↵Jelmer Vernooij1-1/+4
functions, should help fix the build for OpenChange. (This used to be commit 385ffe4f4cc9a21a760c0f00410f56e2592fd507)
2007-12-21r26409: Pass smb ports along.Jelmer Vernooij1-1/+1
(This used to be commit 2833f320de1f1fd39c710ad0a61c3fa1bb1df31f)
2007-12-21r26250: Avoid global_loadparm in a couple more places.Jelmer Vernooij1-1/+1
(This used to be commit 2c6b755309fdf685cd0b0564272bf83038574a43)
2007-12-21r26249: Remove a couple more uses of global_loadparm.Jelmer Vernooij1-2/+4
(This used to be commit 80a61200508a00d5b16a3e748ce92d54b9fefcd2)
2007-12-21r26238: Add a loadparm context parameter to torture_context, remove more ↵Jelmer Vernooij1-1/+1
uses of global_loadparm. (This used to be commit a33a5530545086b81a3b205aa109dff11c546926)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij1-4/+4
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r25430: Add the loadparm context to all parametric options.Jelmer Vernooij1-1/+1
(This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58)
2007-10-10r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij1-1/+1
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij1-1/+1
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r24674: Make sure results are always on a new line, fix typo in test name.Jelmer Vernooij1-1/+2
(This used to be commit 40c1635b39b4acff0acecc734583daa0217215ce)
2007-10-10r24587: the elements of the array are not talloc pointersAndrew Tridgell1-2/+1
(This used to be commit 2ebf00dc42edfc3474dc88ef2e560d4b1b534efa)
2007-10-10r24585: put in the right state variable when doing a SMBecho - this caused theAndrew Tridgell1-1/+1
wrong connection to reconnect on a SMBecho failure (This used to be commit c61415b05ddd29c7214384189f7d0ddabdaa3b71)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r23182: fixed valgrind errorAndrew Tridgell1-0/+2
(This used to be commit fae416cbe8e44bc88ea709160a583e2f921e4eec)
2007-10-10r23181: prevent attempts to reopen the connection twice at the same timeAndrew Tridgell1-9/+13
(This used to be commit a25c27dbae4534f2125001c16ac9ae0b67c519cb)
2007-10-10r23180: auto-reconnect on both NT_STATUS_END_OF_FILE and ↵Andrew Tridgell1-2/+4
NT_STATUS_LOCAL_DISCONNECT (This used to be commit 32a6c268a7963382dc05f53783ac22f7fd0de429)
2007-10-10r23143: error found by valgrindAndrew Tridgell1-4/+5
(This used to be commit 268a26131ee43a673e7b79a359b2575dcef554d5)
2007-10-10r23142: added error checking and reconnect on echo repliesAndrew Tridgell1-4/+25
(This used to be commit 0d47efe6d6d1738183c59942a077faaf1c77f004)
2007-10-10r23140: send send echos while disconnectedAndrew Tridgell1-1/+3
(This used to be commit 233172a9f71e297e255c393946ad51fad96b356e)
2007-10-10r23139: use echo operations once a second in lockbench and openbench to ensureAndrew Tridgell1-0/+10
we detect IP takeover on servers (This used to be commit b5292a25edf1c071dea19877fb6b31f2501132ef)
2007-10-10r22965: changed RAW-LOCK-BENCH to remove the scheduling uncertainty. We shouldAndrew Tridgell1-52/+60
always get balanced locking now (This used to be commit 4e6df7b9b1938b91a904ab061c36d65b169f93a8)
2007-10-10r22962: show progress separately for each client in RAW-BENCH-LOCK, this isAndrew Tridgell1-15/+26
much more useful for seeing why we get unbalanced locking (This used to be commit 1f1f57023b6d7d7d4938803e57f30e485ccba719)
2007-10-10r22881: show number of connected clientsAndrew Tridgell1-2/+12
(This used to be commit 42f6c5106ea4d0e35f88e0c9523cbd13206fecb5)
2007-10-10r22876: - try to reconnect once per second, not continouslyAndrew Tridgell1-6/+12
- patch from ronnie to fix the lock offset on reconnect (This used to be commit 77d7ca5590bfc416a2526bc8833158df4e9d7810)
2007-10-10r22837: make RAW-BENCH-LOCK reconnect asynchronously when one of its serversAndrew Tridgell1-28/+110
goges away (This used to be commit cf0cdf5171d4e0ca01b697155ceb04ffc2863231)
2007-10-10r22836: started adding auto-reconnect logic to lockbench. This needs to beAndrew Tridgell1-2/+37
made async. (This used to be commit 9e1ea3e09c80adb0b9809ee83e0c7b1ec9156e42)
2007-10-10r22579: disable progress printing in the build-farmStefan Metzmacher1-2/+5
metze (This used to be commit 93089ad5e8b6e20c4fa92bf13b0137765aeac689)