From 492f6758a338a0225ee2ea4042988125c79bc789 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 4 Dec 2012 19:54:07 +0100 Subject: Fix segmentation in seqreader --- seqreader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v1.2.3