commit | c06c78c04c415bcb33350e8e56b924b75b4e93aa | [log] [tgz] |
---|---|---|
author | Zhang, Yanmin <yanmin_zhang@linux.intel.com> | Wed Mar 03 08:26:30 2010 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Wed Mar 03 08:26:30 2010 +0100 |
tree | d230f4b756054e16d9bd8b151b59fd89e7f1ed60 | |
parent | 4ceb30d4b44957e252a75f7ee4170f36109934c3 [diff] |
Increase OPT_LEN_MAX When I run fio with lots of files on a disk, parameter filename's length is more than 1024 and tail filenames are cut. Below is a patch to increase OPT_LEN_MAX to 4096. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/parse.h b/parse.h index 5b1a53d..ae6bdea 100644 --- a/parse.h +++ b/parse.h
@@ -25,7 +25,7 @@ const char *help; /* help text for sub option */ }; -#define OPT_LEN_MAX 1024 +#define OPT_LEN_MAX 4096 #define PARSE_MAX_VP 16 /*