Spdk/lib/bdev
Mike Gerdts 5d41f22d24 bdev: spdk_bdev_module_init_done with async init
spdk_bdev_module_init() must only be called if the module sets
async_init to true. This patch fixes the doc string to match the
implementation and adds an assert() to catch API usage errors early.

Change-Id: I677345de028c8f7597ecf81ff9b9b855867bbf01
Signed-off-by: Mike Gerdts <mgerdts@nvidia.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16133
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
2023-01-10 13:13:17 +00:00
..
bdev_internal.h bdev: Add counts per I/O error status into I/O statistics 2023-01-04 08:22:31 +00:00
bdev_rpc.c bdev: add claim type 2023-01-05 23:28:32 +00:00
bdev_zone.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
bdev.c bdev: spdk_bdev_module_init_done with async init 2023-01-10 13:13:17 +00:00
Makefile update Intel copyright notices 2022-11-10 08:28:53 +00:00
part.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
scsi_nvme.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
spdk_bdev.map bdev: support to get histogram per channel 2022-11-29 08:28:57 +00:00
vtune.c update Intel copyright notices 2022-11-10 08:28:53 +00:00