Commit 1e85d9ef authored by Daniel Verkamp's avatar Daniel Verkamp Committed by Ben Walker
Browse files

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: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent c5582f27
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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 */
+1 −1
Original line number Diff line number Diff line
@@ -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;
+1 −2
Original line number Diff line number Diff line
@@ -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
+1 −2
Original line number Diff line number Diff line
@@ -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 {
+1 −2
Original line number Diff line number Diff line
@@ -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 {
Loading