diff --git a/include/spdk/bdev_module.h b/include/spdk/bdev_module.h index 79c0ee3e1..cb78f89e5 100644 --- a/include/spdk/bdev_module.h +++ b/include/spdk/bdev_module.h @@ -34,6 +34,8 @@ /** \file * Block Device Module Interface + * + * For information on how to write a bdev module, see @ref bdev_module. */ #ifndef SPDK_BDEV_MODULE_H @@ -47,35 +49,6 @@ #include "spdk/io_channel.h" #include "spdk/uuid.h" -/** \page block_backend_modules Block Device Backend Modules - * - * To implement a backend block device driver, a number of functions - * dictated by struct spdk_bdev_fn_table must be provided. - * - * The module should register itself using SPDK_BDEV_MODULE_REGISTER to - * define the parameters for the module. - * - *
- * - * The value can be extracted as the example below: - *- * [MyBE] - * MyParam 1234 - *
- * - * The backend initialization routine also need to create "disks". A virtual - * representation of each LUN must be constructed. Mainly a struct spdk_bdev - * must be passed to the bdev database via spdk_bdev_register(). - */ - /** Block device module */ struct spdk_bdev_module { /**- * struct spdk_conf_section *sp = spdk_conf_find_section(NULL, "MyBe"); - * int my_param = spdk_conf_section_get_intval(sp, "MyParam"); - *