projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9900706
)
fio: allow 0 as compress percentage
author
Peter Oberparleiter
<oberpar@linux.vnet.ibm.com>
Thu, 20 Feb 2014 13:20:07 +0000
(14:20 +0100)
committer
Jens Axboe
<axboe@fb.com>
Thu, 20 Feb 2014 17:14:33 +0000
(09:14 -0800)
Allow 0 as value for option compress_percentage which can be useful for
certain deduplication and compression based storage back ends.
Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
options.c
patch
|
blob
|
blame
|
history
diff --git
a/options.c
b/options.c
index 04fb506a6e9cfffd234e0b898eee08e600cb81c2..ac101a3fe27ae7baa68ea21583f4ea41ebb2c4f7 100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-3069,7
+3069,7
@@
struct fio_option fio_options[FIO_MAX_OPTS] = {
.type = FIO_OPT_INT,
.off1 = td_var_offset(compress_percentage),
.maxval = 100,
- .minval =
1
,
+ .minval =
0
,
.help = "How compressible the buffer is (approximately)",
.interval = 5,
.category = FIO_OPT_C_IO,