Spdk/test/bdev
Jim Harris ab696ae1cf bdevperf: remove extra blockdev_heads_destroy() in failure path
The stop handler already calls blockdev_heads_destroy(), so we
don't need to call it if bdevperf_construct_targets_tasks()
fails.  Calling it twice actually results in double-frees and
other types of memory corruption.

Fixes #592.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: Iba92b1ae64453036829a67ab6f3dad970a368af0

Reviewed-on: https://review.gerrithub.io/c/442628
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2019-01-30 06:37:49 +00:00
..
bdevio parse: add return value to app_parse callback 2019-01-18 10:08:09 +00:00
bdevperf bdevperf: remove extra blockdev_heads_destroy() in failure path 2019-01-30 06:37:49 +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: Update RUN_NIGHTLY_FAILING list. 2018-12-11 00:03:31 +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