summaryrefslogtreecommitdiff
path: root/source4/torture/smb2/maxwrite.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-23 02:19:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:19:16 -0500
commit921f73c7e58eac1900eb7ec9f7276cd3afaf0480 (patch)
tree3c56f53bb45d494b3e08978712f302e4bee5cfd9 /source4/torture/smb2/maxwrite.c
parent45ca27699c018423364a1307b241d6034de1332d (diff)
downloadsamba-921f73c7e58eac1900eb7ec9f7276cd3afaf0480.tar.gz
samba-921f73c7e58eac1900eb7ec9f7276cd3afaf0480.tar.bz2
samba-921f73c7e58eac1900eb7ec9f7276cd3afaf0480.zip
r18835: expand IO limits on SMB2. Samba4 now tops out at 16.7MB IOs.
(This used to be commit 1e34e4d5a1fd3d74080424140e4ab276b6042d12)
Diffstat (limited to 'source4/torture/smb2/maxwrite.c')
-rw-r--r--source4/torture/smb2/maxwrite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/smb2/maxwrite.c b/source4/torture/smb2/maxwrite.c
index b9ca46437d..1d64d1d359 100644
--- a/source4/torture/smb2/maxwrite.c
+++ b/source4/torture/smb2/maxwrite.c
@@ -37,7 +37,7 @@ static NTSTATUS torture_smb2_write(TALLOC_CTX *mem_ctx,
struct smb2_read r;
NTSTATUS status;
int i, len;
- int max = 10000000;
+ int max = 80000000;
int min = 1;
while (max > min) {
@@ -94,7 +94,7 @@ static NTSTATUS torture_smb2_write(TALLOC_CTX *mem_ctx,
printf("converged: len=%d\n", max);
- return status;
+ return NT_STATUS_OK;
}