[PATCH 0/2] fix FIO_OPT_STR_SET and update io_uring doc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series has 2 small patches.

First patch deals with type FIO_OPT_STR_SET.

FIO_OPT_STR_SET suggests the passed value should be
empty or boolean value ([0|1]).
But for the given type it accepts any integer value as there is
no limit for min and max values. Add a limit for that during
the option initialization.

Note: With this the existing job files, test scripts which
used to pass any integer value will not work.

Other way to fix this would be to update the typehelp for
FIO_OPT_STR_SET as "empty or integer value (opt=100)"

Second patch sets the type for sqthread_poll to FIO_OPT_STR_SET
instead of FIO_OPT_INT. This I believe is what was originally
intended when the option was added.
This patch also adds the missing types for io_uring options
in the documentation.

This now fixes the issue:
https://github.com/axboe/fio/issues/927

Ankit Kumar (2):
  parse: set min and max limit for FIO_OPT_STR_SET
  io_uring: update documentation and small fix for sqthread_poll

 HOWTO.rst          | 6 +++---
 engines/io_uring.c | 2 +-
 fio.1              | 6 +++---
 parse.c            | 2 +-
 4 files changed, 8 insertions(+), 8 deletions(-)

-- 
2.17.1




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux