2022-01-19 10:12:50 +00:00
|
|
|
/* SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
* Copyright (c) Samsung Electronics Co., Ltd.
|
|
|
|
* All rights reserved.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SPDK_BDEV_XNVME_H
|
|
|
|
#define SPDK_BDEV_XNVME_H
|
|
|
|
|
|
|
|
#include "spdk/stdinc.h"
|
|
|
|
|
|
|
|
#include "spdk/queue.h"
|
|
|
|
#include "spdk/bdev.h"
|
|
|
|
|
|
|
|
#include "spdk/bdev_module.h"
|
|
|
|
|
|
|
|
struct spdk_bdev *create_xnvme_bdev(const char *name, const char *filename,
|
2022-09-25 09:55:53 +00:00
|
|
|
const char *io_mechanism, bool conserve_cpu);
|
2022-01-19 10:12:50 +00:00
|
|
|
|
2023-01-31 08:34:27 +00:00
|
|
|
void delete_xnvme_bdev(const char *name, spdk_bdev_unregister_cb cb_fn, void *cb_arg);
|
2022-01-19 10:12:50 +00:00
|
|
|
|
|
|
|
#endif /* SPDK_BDEV_XNVME_H */
|