From e37ff8c5fe18d400e378bf2591e209b30473d9f9 Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Sun, 28 Oct 2018 19:29:26 +0100 Subject: s4:torture/smb2/read: add test for cancelling SMB aio Bug: https://bugzilla.samba.org/show_bug.cgi?id=13667 Signed-off-by: Ralph Boehme Reviewed-by: Volker Lendecke Reviewed-by: Jeremy Allison --- selftest/target/Samba3.pm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'selftest/target') diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index f7957cf3a7d..f8fda35366b 100755 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -2250,6 +2250,12 @@ sub provision($$$$$$$$$) kernel oplocks = no posix locking = no include = $libdir/delay_inject.conf + +[aio_delay_inject] + copy = tmp + vfs objects = delay_inject + delay_inject:pread_send = 2000 + delay_inject:pwrite_send = 2000 "; close(CONF); -- cgit v1.2.1