numam-spdk/include/spdk_internal
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
..
assert.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
bdev.h bdev: rework bdev module registration 2018-03-09 12:07:35 -05:00
copy_engine.h scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
event.h subsystem: make subsystem declaration macro just register subsystem 2018-03-09 12:07:35 -05:00
log.h log: rename SPDK_TRACE_* to SPDK_LOG_* 2017-12-07 12:23:19 -05:00
lvolstore.h bdev: Added functions allowing logical volume store rename. 2018-03-08 11:26:16 -05:00
mock.h mock: mark wrappers "used" so LTO will keep them 2018-01-25 14:21:02 -05:00
sock.h net: add spdk_sock_group_impl 2018-02-21 12:40:30 -05:00
utf.h utf.h: remove #include "spdk/json.h" 2018-01-31 14:37:16 -05:00
virtio.h virtio: move vdev->name allocation to generic virtio 2018-01-23 22:49:21 -05:00