Spdk/test
Pawel Wodkowski 4d36735401 bdev: rework bdev module registration
Currently SPDK_BDEV_MODULE_REGISTER() take many parameters. Extending it
(eg for incoming JSON configuration dump/load) is quite challenging and
error prone. As we are already here in next patches, rework this macro
to take one parameter - the pointer to struct spdk_bdev_module_if.

This patch also remove following macros:
SPDK_GET_BDEV_MODULE - this is not really needed, to find module outside
module translation unit use spdk_bdev_module_list_find()

SPDK_BDEV_MODULE_ASYNC_INIT and SPDK_BDEV_MODULE_ASYNC_FINI - replaced
by bool fields in spdk_bdev_module_if struct.

Change-Id: Ief88e023fbbaee7d5402c838dbecbdffd4dfb259
Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Reviewed-on: https://review.gerrithub.io/402883
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2018-03-09 12:07:35 -05:00
..
app lib: Return instead of exit in event 2018-03-08 11:47:01 -05:00
blobfs/rocksdb autotest: add test completion tracking 2018-03-01 17:13:41 -05:00
blobstore autotest_common.sh: move to test/common 2018-02-27 20:37:27 -05:00
common test/common: exit with error in waitforlisten() if app crashed 2018-03-07 11:02:35 -05:00
config test/vm_setup: don't change global git config 2018-03-08 11:22:19 -05:00
cpp_headers build: add @: to remaining 'all' targets 2018-02-14 17:38:25 -05:00
iscsi_tgt test/iscsi: disable calsoft tc_ffp_29_4 2018-03-08 19:09:40 -05:00
lib lib: Return instead of exit in event 2018-03-08 11:47:01 -05:00
lvol test/lvol: functional tests for rename 2018-03-08 11:26:16 -05:00
nvmf autotest: Add spdk/nvme-cli main commands test 2018-03-02 14:08:31 -05:00
pmem autotest: add test completion tracking 2018-03-01 17:13:41 -05:00
unit bdev: rework bdev module registration 2018-03-09 12:07:35 -05:00
vhost test/migration: debug VM shutdown issue 2018-03-09 12:07:19 -05:00
Makefile test: begin moving unit tests into test/unit 2017-06-16 16:43:48 -04:00
spdk_cunit.h scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00