]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/spdk/doc/bdev_module.md
import 15.2.0 Octopus source
[ceph.git] / ceph / src / spdk / doc / bdev_module.md
index 24a08df4b77d3c2435d13ab1cd27c119b59ad311..f6c5392cc00f8355f212bf7c5231449c1f6d6659 100644 (file)
@@ -25,7 +25,7 @@ module, add a new directory with a single C file and a Makefile. A great
 starting point is to copy the existing 'null' bdev module.
 
 The primary interface that bdev modules will interact with is in
-include/spdk_internal/bdev.h. In that header a macro is defined that registers
+include/spdk/bdev_module.h. In that header a macro is defined that registers
 a new bdev module - SPDK_BDEV_MODULE_REGISTER. This macro take as argument a
 pointer spdk_bdev_module structure that is used to register new bdev module.
 
@@ -34,8 +34,8 @@ initialization (`module_init`) and teardown (`module_fini`) functions,
 the function that returns context size (`get_ctx_size`) - scratch space that
 will be allocated in each I/O request for use by this module, and a callback
 that will be called each time a new bdev is registered by another module
-(`examine`). Please check the documentation of struct spdk_bdev_module for
-more details.
+(`examine_config` and `examine_disk`). Please check the documentation of
+struct spdk_bdev_module for more details.
 
 ## Creating Bdevs