gettime: Introduce rel_time_since()
[fio.git] / parse.h
diff --git a/parse.h b/parse.h
index b47a02c78263d038c6cd8d3c04c61611c3c55c2e..1d2cbf74f424089cc77214fc6c640e4df8b6de11 100644 (file)
--- a/parse.h
+++ b/parse.h
@@ -37,8 +37,8 @@ struct value_pair {
        void *cb;                       /* sub-option callback */
 };
 
-#define OPT_LEN_MAX    4096
-#define PARSE_MAX_VP   24
+#define OPT_LEN_MAX    8192
+#define PARSE_MAX_VP   32
 
 /*
  * Option define
@@ -133,6 +133,11 @@ static inline int parse_is_percent(unsigned long long val)
        return val <= -1ULL && val >= (-1ULL - 100ULL);
 }
 
+static inline int parse_is_percent_uncapped(unsigned long long val)
+{
+       return (long long)val <= -1;
+}
+
 struct print_option {
        struct flist_head list;
        char *name;