Spdk/test
Maciej Szwed 79ed1ba18d bdev: Add spdk_bdev_open_ext function
This patch adds new interface for opening bdev and
implements new style remove event. With that changes
user can be notified about different types of events
that occur in regards to bdev. spdk_bdev_open_ext
function uses bdev name as an argument instead of bdev
structure to remove race condition where user gets
the bdev structure and bdev is removed after getting
that structure and before open function is called.

spdk_bdev_open is now deprecated.

Signed-off-by: Maciej Szwed <maciej.szwed@intel.com>
Change-Id: I44ebeb988bc6a2f441fc6a0c38a30668aad999ad
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/455647
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2019-08-26 19:07:56 +00:00
..
app lib: move trace_rpc into lib/trace 2019-08-19 06:10:30 +00:00
bdev lib: move trace_rpc into lib/trace 2019-08-19 06:10:30 +00:00
blobfs test/rocksdb: remove run_tests.sh 2019-07-05 12:13:16 +00:00
blobstore RPC: rename RPC aio_bdev series 2019-08-20 22:44:20 +00:00
common mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
compress RPC: rename RPC compress_bdev series 2019-08-20 22:44:42 +00:00
config_converter RPC: rename RPC aio_bdev series 2019-08-20 22:44:20 +00:00
cpp_headers Makefile: Add possibility to uninstall spdk. 2019-05-16 20:56:18 +00:00
env ut/cunit: added missing semicolon on CU_ASSERT macros 2019-07-24 18:21:22 +00:00
event notify: add notification library 2019-03-29 21:15:14 +00:00
ftl test: use single quotes in trap instruction 2019-08-14 02:20:45 +00:00
fuzz scripts/rpc: Change rpc construct_malloc_bdev to bdev_malloc_create 2019-08-14 22:15:08 +00:00
ioat test: remove duplicated set -ex from tests 2019-06-19 03:54:58 +00:00
iscsi_tgt RPC: rename RPC bdev_error series 2019-08-26 18:59:18 +00:00
json_config RPC: rename RPC bdev_error series 2019-08-26 18:59:18 +00:00
lvol RPC: rename rcp rename_lvol_bdev to bdev_lvol_rename 2019-08-23 22:36:28 +00:00
nvme test: move get_nvme_name_from_bdf function to autotest_common.sh 2019-08-14 21:24:58 +00:00
nvmf RPC: rename rpc clone_lvol_bdev to bdev_lvol_clone 2019-08-23 22:36:28 +00:00
ocf scripts/rpc: Change rpc construct_malloc_bdev to bdev_malloc_create 2019-08-14 22:15:08 +00:00
openstack test/openstack: Fix. Assign nvmfpid var as it is used in nvmftestfini 2019-08-08 22:58:35 +00:00
pmem scripts: use -n instead of ! -z 2019-08-08 21:27:40 +00:00
rpc_client jsonrpc: tolerate null json value for parameters in json-rpc call 2019-07-26 19:30:57 +00:00
spdkcli scripts: use -n instead of ! -z 2019-08-08 21:27:40 +00:00
unit bdev: Add spdk_bdev_open_ext function 2019-08-26 19:07:56 +00:00
vhost test/fuzz: remove shm file during cleanup. 2019-08-23 17:31:47 +00:00
vmd test: use single quotes in trap instruction 2019-08-14 02:20:45 +00:00
Makefile jsonrpc-client: add new C client library 2018-10-11 20:07:44 +00:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00