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:
Daniel Verkamp 2017-01-04 15:30:04 -07:00 committed by Ben Walker
parent c5582f2720
commit 1e85d9ef32
6 changed files with 8 additions and 11 deletions

View File

@ -36,8 +36,8 @@
* Block Device Module Interface
*/
#ifndef SPDK_BDEV_MODULE_H_
#define SPDK_BDEV_MODULE_H_
#ifndef SPDK_INTERNAL_BDEV_H
#define SPDK_INTERNAL_BDEV_H
#include <inttypes.h>
#include <unistd.h>
@ -193,4 +193,4 @@ spdk_bdev_io_from_ctx(void *ctx)
spdk_vbdev_module_list_add(&init_fn ## _if); \
}
#endif /* SPDK_BDEV_MODULE_H_ */
#endif /* SPDK_INTERNAL_BDEV_H */

View File

@ -40,7 +40,7 @@
#include "spdk/queue.h"
#include "spdk/bdev.h"
#include "bdev_module.h"
#include "spdk_internal/bdev.h"
struct blockdev_aio_task {
struct iocb iocb;

View File

@ -46,10 +46,9 @@
#include "spdk/event.h"
#include "spdk/queue.h"
#include "spdk_internal/bdev.h"
#include "spdk_internal/log.h"
#include "bdev_module.h"
#define SPDK_BDEV_IO_POOL_SIZE (64 * 1024)
#define RBUF_SMALL_POOL_SIZE 8192
#define RBUF_LARGE_POOL_SIZE 1024

View File

@ -43,10 +43,9 @@
#include "spdk/copy_engine.h"
#include "spdk/io_channel.h"
#include "spdk_internal/bdev.h"
#include "spdk_internal/log.h"
#include "bdev_module.h"
#define MALLOC_MAX_UNMAP_BDESC 1
struct malloc_disk {

View File

@ -50,10 +50,9 @@
#include "spdk/io_channel.h"
#include "spdk/string.h"
#include "spdk_internal/bdev.h"
#include "spdk_internal/log.h"
#include "bdev_module.h"
static void blockdev_nvme_get_spdk_running_config(FILE *fp);
struct nvme_device {

View File

@ -52,7 +52,7 @@
#include "spdk/bdev.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 int blockdev_rbd_count = 0;