2022-06-03 19:15:11 +00:00
|
|
|
/* SPDX-License-Identifier: BSD-3-Clause
|
2022-11-01 20:26:26 +00:00
|
|
|
* Copyright (C) 2019 Intel Corporation.
|
2019-02-19 17:06:19 +00:00
|
|
|
* All rights reserved.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SPDK_BDEV_URING_H
|
|
|
|
#define SPDK_BDEV_URING_H
|
|
|
|
|
|
|
|
#include "spdk/stdinc.h"
|
|
|
|
|
|
|
|
#include "spdk/queue.h"
|
|
|
|
#include "spdk/bdev.h"
|
|
|
|
|
|
|
|
#include "spdk/bdev_module.h"
|
|
|
|
|
|
|
|
typedef void (*spdk_delete_uring_complete)(void *cb_arg, int bdeverrno);
|
|
|
|
|
2019-10-29 09:25:00 +00:00
|
|
|
struct spdk_bdev *create_uring_bdev(const char *name, const char *filename, uint32_t block_size);
|
2019-02-19 17:06:19 +00:00
|
|
|
|
2022-03-29 05:55:53 +00:00
|
|
|
void delete_uring_bdev(const char *name, spdk_delete_uring_complete cb_fn, void *cb_arg);
|
2019-02-19 17:06:19 +00:00
|
|
|
|
|
|
|
#endif /* SPDK_BDEV_URING_H */
|