Spdk/test/bdev
Shuhei Matsumoto fdf7e1bcb2 bdevperf: Factoring out construct target operation into a function
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>
2019-02-13 06:42:11 +00:00
..
bdevio parse: add return value to app_parse callback 2019-01-18 10:08:09 +00:00
bdevperf bdevperf: Factoring out construct target operation into a function 2019-02-13 06:42:11 +00:00
bdev.conf.in QoS/Bdev: add the Read/Write separate bandwidth rate limits 2019-01-22 23:21:43 +00:00
blockdev.sh test/nightly: Add tests to RUN_NIGHTLY_FAILING. 2019-02-01 13:16:35 +00:00
Makefile test: move the bdev directory up one level 2018-03-23 19:45:09 -04:00
nbd_common.sh tests: wait for each start and stop nbd disk RPC 2018-11-21 07:28:31 +00:00