Bdevperf have returned immediately if -ENOMEM, continued if failure due to other reasons, and registered the created target otherwise. So, keep this behavior by passing the reference to the pointer to struct io_target, and check both return code and the value of the reference. And this refactoring will clarify the logic related with target assigment to cores. Change-Id: I24593f7b4523daf4395643bdc8886499c36ea3c7 Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/c/443354 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
bdevio | ||
bdevperf | ||
bdev.conf.in | ||
blockdev.sh | ||
Makefile | ||
nbd_common.sh |