projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fio: cap io_size=N% at 100%, update man page
[fio.git]
/
parse.h
diff --git
a/parse.h
b/parse.h
index 5828654f6bd390a37e5bd2148bc6c1ee95943105..1d2cbf74f424089cc77214fc6c640e4df8b6de11 100644
(file)
--- a/
parse.h
+++ b/
parse.h
@@
-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;