summaryrefslogtreecommitdiffstats
path: root/source4/torture/basic
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2007-06-15 11:16:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:53:23 -0500
commit5b2e3e8bd8a4b404f0c6158dfaad5b15e4073940 (patch)
tree34aaee85bd33ffa2d5305bb9264bf082ca62351d /source4/torture/basic
parentd02d0301bee23f945f6d807e94fe88c2a8e97ed9 (diff)
downloadsamba-5b2e3e8bd8a4b404f0c6158dfaad5b15e4073940.tar.gz
samba-5b2e3e8bd8a4b404f0c6158dfaad5b15e4073940.tar.xz
samba-5b2e3e8bd8a4b404f0c6158dfaad5b15e4073940.zip
r23505: Use RAW_READ_READX, not RAW_READ_READ in BENCH-READWRITE test (we already write with RAW_WRITE_WRITEX). Noticed by Gomati Mohanan
(This used to be commit 5530b38bbf776fec86dd47d3fe73c5e7a6eb188b)
Diffstat (limited to 'source4/torture/basic')
-rw-r--r--source4/torture/basic/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/basic/misc.c b/source4/torture/basic/misc.c
index 933e4334c03..0523aca9610 100644
--- a/source4/torture/basic/misc.c
+++ b/source4/torture/basic/misc.c
@@ -575,7 +575,7 @@ static NTSTATUS benchrw_readwrite(struct torture_context *tctx,
"Callback READ file:%d (%d/%d) Offset:%d\n",
state->nr,state->completed,torture_numops,
(state->readcnt*state->lp_params->blocksize));
- rd.generic.level = RAW_READ_READ ;
+ rd.generic.level = RAW_READ_READX ;
rd.read.in.file.fnum = state->fnum ;
rd.read.in.offset = state->readcnt *
state->lp_params->blocksize;