1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
samba-mirror/source4/torture/smb2
Ralph Boehme b17e2f5c74 s4/torture: add a test for ctdb-tombstrone-record deadlock
This tests for a possible deadlock between smbd and ctdb dealing with
ctdb tombstone records.

Commit 925625b528 explains the deadlock in
more details and contains the fix. It's a fix for a regression
introduced by the patch for bug 10008 (1cae59ce11).

If you ever want to use this test against that specific commit:

$ git checkout 925625b528
$ git cherry-pick THIS_COMMIT

This should not deadlock on a ctdb cluster.

$ git revert 925625b528

This will deadlock.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=12005

Pair-Programmed-With: Michael Adam <obnox@samba.org>

Signed-off-by: Ralph Boehme <slow@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
2016-08-09 01:31:33 +02:00
..
acls.c s4: torture: Add SMB2 access-based enumeration test. Passes against Win2k12R2. 2015-10-14 19:00:03 +02:00
compound.c s4:torture:smb2:compound: compound read and padding 2015-05-28 16:50:39 +02:00
connect.c torture:smb2: improve torture_comments in connect test 2016-02-23 04:50:53 +01:00
create.c s4:torture:smb2: fix Use of 'uninitialised value of size 8' valgrind error. 2016-04-25 10:35:15 +02:00
delete-on-close.c s4:torture fix a build break on AIX 2013-05-09 08:05:12 +02:00
dir.c s4: torture: Fix directory test against a server that actually uses index returns. 2015-09-25 08:21:49 +02:00
dosmode.c s4/torture: add a test for dosmode and hidden files 2016-06-25 18:47:17 +02:00
durable_open.c torture:smb2: add durable-open.reopen1a-lease 2016-03-22 00:23:22 +01:00
durable_v2_open.c torture:smb2: add durable-v2-open.reopen1a-lease 2016-03-22 03:47:02 +01:00
getinfo.c torture: test FS_SECTOR_SIZE_INFORMATION queries 2015-03-18 18:57:21 +01:00
ioctl.c torture/ioctl: add simple FSCTL_FILE_LEVEL_TRIM test 2015-03-18 21:32:46 +01:00
lease.c s4: torture: Don't crash if connections fail and treeXX variables are left as NULL. 2016-07-22 10:32:22 +02:00
lock.c s4/torture: add a test for ctdb-tombstrone-record deadlock 2016-08-09 01:31:33 +02:00
maxfid.c selftest: Add tunable for smb2.maxfid limit 2016-07-14 02:06:10 +02:00
maxwrite.c
notify_disabled.c selftest: add a check for disabled change notify 2015-08-31 15:50:49 +02:00
notify.c smbtorture: Correctly initialize notify request in smb2.notify.tree 2016-07-18 15:14:11 +02:00
oplock.c s4:torture:smb2: fix 'Use of uninitialised value of size 8' valgrind error 2016-04-25 10:35:16 +02:00
read.c s4:torture/smb2: we only support 64KB reads/writes for now 2011-10-13 01:59:05 +02:00
rename.c s4:torture:smb2:rename.c: Fix file permissions. 2016-03-24 06:33:03 +01:00
replay.c torture: Fix the O3 developer build 2016-03-22 22:48:52 +01:00
scan.c s4:torture make a suite for smb2.*scan 2012-03-06 23:53:07 +01:00
session.c auth/credentials: also do a shallow copy of the krb5_ccache. 2016-07-22 23:34:20 +02:00
setinfo.c Add a test to show that zero-length EA's are never returned over SMB2. 2013-04-02 20:06:38 +02:00
smb2.c smbtorture: Add smb2.maxfid 2016-07-13 03:00:15 +02:00
streams.c s4:torture:smb2: fix 'Use of uninitialised value of size 8' valgrind error. 2016-04-25 10:35:16 +02:00
util.c s4:torture/smb2: remove unused variable in torture_smb2_con_sopt() 2014-09-30 23:35:08 +02:00
wscript_build smbtorture: Add smb2.maxfid 2016-07-13 03:00:15 +02:00