summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2012-12-04 19:54:07 +0100
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2012-12-04 19:54:07 +0100
commit492f6758a338a0225ee2ea4042988125c79bc789 (patch)
tree69cfea12c09c8bd1fa313f6bf1c64f4378c27380
parentce7895919b2379de37b4004e7b17ed192cae30c4 (diff)
downloadfwbench-492f6758a338a0225ee2ea4042988125c79bc789.tar.gz
fwbench-492f6758a338a0225ee2ea4042988125c79bc789.tar.bz2
fwbench-492f6758a338a0225ee2ea4042988125c79bc789.tar.xz
fwbench-492f6758a338a0225ee2ea4042988125c79bc789.zip
Fix segmentation in seqreader
-rw-r--r--seqreader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/seqreader.c b/seqreader.c
index f06eef8..cb9db3b 100644
--- a/seqreader.c
+++ b/seqreader.c
@@ -43,7 +43,7 @@
#ifdef AIO_MODE
# define BUFSIZE (BLOCK_SIZE * (AIO_MODE + EXTRA_BUFFERS))
#else /* AIO_MODE */
-# define BUFSIZE (1024 * RAID_STRIP_SIZE * RAID_DISKS)
+# define BUFSIZE (1024 * RAID_STRIP_SIZE * RAID_DISKS * STRIPS_AT_ONCE)
#endif /* AIO_MODE */