projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4ceb30d
)
Increase OPT_LEN_MAX
author
Zhang, Yanmin
<yanmin_zhang@linux.intel.com>
Wed, 3 Mar 2010 07:26:30 +0000
(08:26 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Wed, 3 Mar 2010 07:26:30 +0000
(08:26 +0100)
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>
parse.h
patch
|
blob
|
blame
|
history
diff --git
a/parse.h
b/parse.h
index 5b1a53deb748a1beb61dfce5ae5b62c087b7c2c4..ae6bdead38fe25f16bbcd20b7c8ce751ce4b1f22 100644
(file)
--- 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
/*