bdev_module.h: move to spdk_internal/bdev.h
This is consistent with the other internal-only API headers. Change-Id: I2c4748977d38a6c173311d26197d6273c168da7d Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
c5582f2720
commit
1e85d9ef32
@ -36,8 +36,8 @@
|
|||||||
* Block Device Module Interface
|
* Block Device Module Interface
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SPDK_BDEV_MODULE_H_
|
#ifndef SPDK_INTERNAL_BDEV_H
|
||||||
#define SPDK_BDEV_MODULE_H_
|
#define SPDK_INTERNAL_BDEV_H
|
||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
@ -193,4 +193,4 @@ spdk_bdev_io_from_ctx(void *ctx)
|
|||||||
spdk_vbdev_module_list_add(&init_fn ## _if); \
|
spdk_vbdev_module_list_add(&init_fn ## _if); \
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* SPDK_BDEV_MODULE_H_ */
|
#endif /* SPDK_INTERNAL_BDEV_H */
|
@ -40,7 +40,7 @@
|
|||||||
#include "spdk/queue.h"
|
#include "spdk/queue.h"
|
||||||
#include "spdk/bdev.h"
|
#include "spdk/bdev.h"
|
||||||
|
|
||||||
#include "bdev_module.h"
|
#include "spdk_internal/bdev.h"
|
||||||
|
|
||||||
struct blockdev_aio_task {
|
struct blockdev_aio_task {
|
||||||
struct iocb iocb;
|
struct iocb iocb;
|
||||||
|
@ -46,10 +46,9 @@
|
|||||||
#include "spdk/event.h"
|
#include "spdk/event.h"
|
||||||
#include "spdk/queue.h"
|
#include "spdk/queue.h"
|
||||||
|
|
||||||
|
#include "spdk_internal/bdev.h"
|
||||||
#include "spdk_internal/log.h"
|
#include "spdk_internal/log.h"
|
||||||
|
|
||||||
#include "bdev_module.h"
|
|
||||||
|
|
||||||
#define SPDK_BDEV_IO_POOL_SIZE (64 * 1024)
|
#define SPDK_BDEV_IO_POOL_SIZE (64 * 1024)
|
||||||
#define RBUF_SMALL_POOL_SIZE 8192
|
#define RBUF_SMALL_POOL_SIZE 8192
|
||||||
#define RBUF_LARGE_POOL_SIZE 1024
|
#define RBUF_LARGE_POOL_SIZE 1024
|
||||||
|
@ -43,10 +43,9 @@
|
|||||||
#include "spdk/copy_engine.h"
|
#include "spdk/copy_engine.h"
|
||||||
#include "spdk/io_channel.h"
|
#include "spdk/io_channel.h"
|
||||||
|
|
||||||
|
#include "spdk_internal/bdev.h"
|
||||||
#include "spdk_internal/log.h"
|
#include "spdk_internal/log.h"
|
||||||
|
|
||||||
#include "bdev_module.h"
|
|
||||||
|
|
||||||
#define MALLOC_MAX_UNMAP_BDESC 1
|
#define MALLOC_MAX_UNMAP_BDESC 1
|
||||||
|
|
||||||
struct malloc_disk {
|
struct malloc_disk {
|
||||||
|
@ -50,10 +50,9 @@
|
|||||||
#include "spdk/io_channel.h"
|
#include "spdk/io_channel.h"
|
||||||
#include "spdk/string.h"
|
#include "spdk/string.h"
|
||||||
|
|
||||||
|
#include "spdk_internal/bdev.h"
|
||||||
#include "spdk_internal/log.h"
|
#include "spdk_internal/log.h"
|
||||||
|
|
||||||
#include "bdev_module.h"
|
|
||||||
|
|
||||||
static void blockdev_nvme_get_spdk_running_config(FILE *fp);
|
static void blockdev_nvme_get_spdk_running_config(FILE *fp);
|
||||||
|
|
||||||
struct nvme_device {
|
struct nvme_device {
|
||||||
|
@ -52,7 +52,7 @@
|
|||||||
#include "spdk/bdev.h"
|
#include "spdk/bdev.h"
|
||||||
#include "spdk/io_channel.h"
|
#include "spdk/io_channel.h"
|
||||||
|
|
||||||
#include "bdev_module.h"
|
#include "spdk_internal/bdev.h"
|
||||||
|
|
||||||
static TAILQ_HEAD(, blockdev_rbd) g_rbds = TAILQ_HEAD_INITIALIZER(g_rbds);
|
static TAILQ_HEAD(, blockdev_rbd) g_rbds = TAILQ_HEAD_INITIALIZER(g_rbds);
|
||||||
static int blockdev_rbd_count = 0;
|
static int blockdev_rbd_count = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user