Loading
bdevperf: Fix incorrect error detection and log for IO size
g_io_size is already verified not to be zero when args are originally parsed, and if g_io_size < data_block_size, then g_io_size % data_block_size != 0. So current error log is not correct and just testing if IO size is multiples of block size will be correct. Change-Id: I5d32425e251773f1c96740c674b4d238dfb80f8d Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/c/444310 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com>