[sheepdog] [PATCH 08/10] vditest: enlarge maximum buffer size from 1 MB to 64 MB
MORITA Kazutaka
morita.kazutaka at lab.ntt.co.jp
Mon Oct 22 04:54:11 CEST 2012
Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
script/vditest | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/script/vditest b/script/vditest
index d23e33f..81c56ff 100755
--- a/script/vditest
+++ b/script/vditest
@@ -197,7 +197,7 @@ sub parse_opts {
error("$lblk is not sector aligned\n") if $lblk % 512 != 0;
error("$lblk is not valid\n") if $lblk == 0;
error("$hblk is not sector aligned\n") if $hblk % 512 != 0;
- error("$hblk is too large\n") if $lblk > 1048576;
+ error("$hblk is too large\n") if $lblk > (64 * 1024 ** 2);
error("transfer range is invalid\n") if $lblk > $hblk;
}
case 'c' {
--
1.7.2.5
More information about the sheepdog
mailing list