diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2012-12-04 19:54:07 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2012-12-04 19:54:07 +0100 |
commit | 492f6758a338a0225ee2ea4042988125c79bc789 (patch) | |
tree | 69cfea12c09c8bd1fa313f6bf1c64f4378c27380 /seqreader.c | |
parent | ce7895919b2379de37b4004e7b17ed192cae30c4 (diff) | |
download | fwbench-492f6758a338a0225ee2ea4042988125c79bc789.tar.gz fwbench-492f6758a338a0225ee2ea4042988125c79bc789.tar.bz2 fwbench-492f6758a338a0225ee2ea4042988125c79bc789.tar.xz fwbench-492f6758a338a0225ee2ea4042988125c79bc789.zip |
Fix segmentation in seqreader
Diffstat (limited to 'seqreader.c')
-rw-r--r-- | seqreader.c | 2 |
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 */ |