[PATCH REPOST blktests v2 7/9] nvme-rc: Calculate IO size for fio jobs
Shinichiro Kawasaki
shinichiro.kawasaki at wdc.com
Thu Apr 27 21:00:54 PDT 2023
On Apr 21, 2023 / 08:05, Daniel Wagner wrote:
> Introduce two new function to calculate the IO size for fio jobs.
>
> _nvme_calc_io_size() returns the jobs size for _run_fio_verify_io()
> function. Reduce the max size of the job by one megabyte to make the
> test more robust not to run out of space by accident. Note these fio
> calls run with just one jobs.
It is not clear for me what kind of issue happens without the 1MB decrement.
Could you share failure symptoms you observed?
>
> _nvme_calc_run_io_size() returns the jobs size for _run_fio_rand_io()
> function. Again, the jobs size is not maxing out the space and most
> important it takes the number of jobs into account which are
> created (number of CPUs).
This patch has two purposes, similar but different. It would be the better to
separate them.
More information about the Linux-nvme
mailing list