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> |
||
---|---|---|
.. | ||
.gitignore | ||
about.md | ||
bdev_module.md | ||
bdev_pg.md | ||
bdev.md | ||
blob.md | ||
blobfs.md | ||
concurrency.md | ||
directory_structure.md | ||
Doxyfile | ||
event.md | ||
footer.html | ||
getting_started.md | ||
header.html | ||
index.md | ||
ioat.md | ||
iscsi.md | ||
jsonrpc.md | ||
lvol.md | ||
Makefile | ||
memory.md | ||
nvme-cli.md | ||
nvme.md | ||
nvmf_tgt_pg.md | ||
nvmf.md | ||
peer_2_peer.md | ||
porting.md | ||
README.md | ||
ssd_internals.md | ||
stylesheet.css | ||
userspace.md | ||
vagrant.md | ||
vhost.md | ||
virtio.md |
SPDK Documentation
The current version of the SPDK documentation can be found online at http://www.spdk.io/doc/
Building the Documentation
To convert the documentation into HTML run make
in the doc
directory. The output will be located in doc/output/html
. Before
running make
ensure all pre-requisites are installed. See
Installing Prerequisites
for more details.