Originally, config->offset was defined as int type. When the capacity of SSD is very large, such as 8T(P4510), then bdev->blockcnt2 is 7814037168, config->offset is 3907018584. At this time, it exceeds the maximum int range of 2147483647 and becomes a negative number, resulting in core dumped. Debug info: config->filename is Nvme1n1. make_cli_job_config offset is -387948712. This should be: config->filename is Nvme1n1. make_cli_job_config offset is 3907018584. Change-Id: Ia83d88cc4e56d6c97a6d3fc1a2593b6fc31655b2 Signed-off-by: WANGHAILIANG <hailiangx.e.wang@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3818 Community-CI: Broadcom CI Reviewed-by: GangCao <gang.cao@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
.gitignore | ||
bdevperf.c | ||
bdevperf.py | ||
common.sh | ||
conf.json | ||
Makefile | ||
test_config.sh |