By design verify payload, uses a bit array to find an offset of IO request. The bit array's size is calculated as bdev_num_blocks / (io_size/block_size), if bdev is small, queue depth requested by the user might be bigger than the bit array size and in that case bdevperf won't find a free bit for IO request offset. To fix that issue, limit queue_depth of such bdevs by "size_in_ios" value Signed-off-by: Alexey Marchuk <alexeymar@nvidia.com> Change-Id: I3117f5af7ae3ea18219c25982f33db936dd24c0b Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15777 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> |
||
---|---|---|
.. | ||
.gitignore | ||
bdevperf.c | ||
bdevperf.py | ||
Makefile |