numam-spdk/lib
Paul Luse 18f534465c bdev: defer call of spdk_bdev_init_failed() when a module fails
If a module fails during init, github issue #363 reported ASAN
errors due to leaks from not cleaning up modules that may have
completed init before the failure. An earlier partial fix was
added, this is a more correct fix that addresses the specific
scenario reported as well as the simplified one used during
early debug...

Change-Id: Ia43476faf33d8e31b581529de3b6d75caed09096
Signed-off-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-on: https://review.gerrithub.io/420118
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
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>
2018-07-26 16:58:40 +00:00
..
bdev bdev: defer call of spdk_bdev_init_failed() when a module fails 2018-07-26 16:58:40 +00:00
blob blobstore: silence false error message if device is too small 2018-07-25 17:36:24 +00:00
blobfs blobfs: change the return type of spdk_file_truncate 2018-07-26 01:42:17 +00:00
conf conf: don't strdup name if section already exist 2018-05-17 17:13:19 +00:00
copy copy/ioat: Add scan_ioat_copy_engine RPC 2018-06-14 03:54:42 +00:00
env_dpdk lib/env_dpdk: pass pci whitelist and blacklist options to DPDK correctly 2018-07-24 17:21:43 +00:00
event iscsi/rpc: fix several bugs of set_iscsi_options 2018-07-25 19:22:08 +00:00
ioat ioat: fix typo on IOAT_DEFAULT_ORDER comment 2018-07-05 16:24:56 +00:00
iscsi iscsi/rpc: fix several bugs of set_iscsi_options 2018-07-25 19:22:08 +00:00
json json: Add spdk_json_decode_uint16 2018-06-05 21:30:02 +00:00
jsonrpc jsonrpc: fix closed connection hadling 2018-06-08 18:11:18 +00:00
log log: add backtrace option 2018-07-25 15:48:25 +00:00
lvol lvol: destroy_lvol_bdev implementation 2018-07-25 17:06:45 +00:00
nbd thread: Replace #include of io_channel.h with thread.h 2018-06-12 15:24:07 +00:00
net net: split sock abstraction into lib/sock 2018-06-22 17:09:57 +00:00
nvme nvme: change the type of paramter for timeout_callback set 2018-07-19 07:18:17 +00:00
nvmf Revert "nvmf: ensure that destroying qpairs have a state_cb" 2018-07-18 21:22:43 +00:00
rocksdb blobfs: change the return type of spdk_file_truncate 2018-07-26 01:42:17 +00:00
rpc rpc: Add option to get_rpc_methods RPC to output only currently usable RPCs 2018-05-04 17:45:48 +00:00
scsi iscsi: Support hot removal of LUN based on LUN open/close 2018-07-17 17:43:28 +00:00
sock net: split sock abstraction into lib/sock 2018-06-22 17:09:57 +00:00
thread util: Remove usage of abort from library code 2018-07-17 17:40:11 +00:00
trace app,lib: fix checking mmap return value 2018-03-30 16:18:34 -04:00
ut_mock test/mock: add pthread_self 2017-09-19 17:15:15 -04:00
util util/base64: add base64 lib and unit tests 2018-07-19 00:50:54 +00:00
vhost vhost: clear desc, avail and used addresses on setting new mem table 2018-07-26 05:29:28 +00:00
virtio virtio: fix vq init error handling 2018-07-11 21:02:06 +00:00
Makefile test: remove spdk_cunit library 2018-07-06 18:35:03 +00:00