From: Zhang, Yanmin Date: Wed, 3 Mar 2010 07:26:30 +0000 (+0100) Subject: Increase OPT_LEN_MAX X-Git-Tag: fio-1.38~44 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=c06c78c04c415bcb33350e8e56b924b75b4e93aa;hp=4ceb30d4b44957e252a75f7ee4170f36109934c3;ds=sidebyside 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 --- diff --git a/parse.h b/parse.h index 5b1a53de..ae6bdead 100644 --- a/parse.h +++ b/parse.h @@ -25,7 +25,7 @@ struct value_pair { const char *help; /* help text for sub option */ }; -#define OPT_LEN_MAX 1024 +#define OPT_LEN_MAX 4096 #define PARSE_MAX_VP 16 /*