Spdk/test/unit/lib
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
..
bdev bdev: rework bdev module registration 2018-03-09 12:07:35 -05:00
blob blobstore: add internal xattrs for creating blob 2018-03-08 11:34:15 -05:00
blobfs test: use spdk.unittest.mk in blob and blobfs unit tests 2018-02-14 11:07:05 -05:00
event subsystem: make subsystem declaration macro just register subsystem 2018-03-09 12:07:35 -05:00
ioat test: use spdk.unittest.mk for ioat unit tests 2018-02-14 10:40:40 -05:00
iscsi lib/iscsi: change type of spdk_iscsi_send_nopin to void 2018-03-08 12:11:24 -05:00
json ut/json: add missing UT for int64/uint64 write 2018-02-20 13:05:36 -05:00
jsonrpc jsonrpc: allow send_buf to grow as needed 2018-02-15 11:03:54 -05:00
log test: use spdk.unittest.mk for event and log unit tests 2018-02-14 11:07:05 -05:00
lvol bdev: Added functions allowing logical volume store rename. 2018-03-08 11:26:16 -05:00
net test/net: add unit tests for multiple spdk_net_impls 2018-02-22 00:16:14 -05:00
nvme util: add uuid.h to wrap libuuid 2018-03-08 10:49:51 -05:00
nvmf Support for Commands Supported and Effects Log Page 2018-03-02 13:45:35 -05:00
scsi scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
util lib/util: return const pointer from spdk_cpuset_fmt 2018-02-20 13:05:36 -05:00
vhost vhost: always inline spdk_vhost_dev_has_feature 2018-02-20 12:35:21 -05:00
Makefile test: add spdk_sock unit tests 2018-02-12 12:30:39 -05:00