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:
0bcf41c
)
Fix 'nice' parameter range: should be -20 to 19, not -19 to 20.
author
Rebecca Cran
<rebecca@bluestop.org>
Thu, 26 Oct 2017 21:28:23 +0000
(15:28 -0600)
committer
Jens Axboe
<axboe@kernel.dk>
Thu, 26 Oct 2017 21:31:35 +0000
(15:31 -0600)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
options.c
patch
|
blob
|
blame
|
history
diff --git
a/options.c
b/options.c
index 8ee986a797351b99b812bdc5b86f4cea129d7856..5813a66b3b07d716f72fe2dc613b86c6be05a7db 100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-3252,8
+3252,8
@@
struct fio_option fio_options[FIO_MAX_OPTS] = {
.type = FIO_OPT_INT,
.off1 = offsetof(struct thread_options, nice),
.help = "Set job CPU nice value",
- .minval = -
19
,
- .maxval =
20
,
+ .minval = -
20
,
+ .maxval =
19
,
.def = "0",
.interval = 1,
.category = FIO_OPT_C_GENERAL,