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-09-25 08:47:02 +00:00
|
|
|
* All rights reserved.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SPDK_BLOBFS_FUSE_H
|
|
|
|
#define SPDK_BLOBFS_FUSE_H
|
|
|
|
|
|
|
|
#include "spdk/stdinc.h"
|
|
|
|
#include "spdk/blobfs.h"
|
|
|
|
|
|
|
|
struct spdk_blobfs_fuse;
|
|
|
|
|
2020-05-10 18:49:31 +00:00
|
|
|
void blobfs_fuse_send_request(fs_request_fn fn, void *arg);
|
2019-09-25 08:47:02 +00:00
|
|
|
|
|
|
|
typedef void (*blobfs_fuse_unmount_cb)(void *arg);
|
|
|
|
|
2020-05-10 18:49:31 +00:00
|
|
|
int blobfs_fuse_start(const char *bdev_name, const char *mountpoint,
|
|
|
|
struct spdk_filesystem *fs, blobfs_fuse_unmount_cb cb_fn,
|
|
|
|
void *cb_arg, struct spdk_blobfs_fuse **bfuse);
|
2019-09-25 08:47:02 +00:00
|
|
|
|
2020-05-10 18:49:31 +00:00
|
|
|
void blobfs_fuse_stop(struct spdk_blobfs_fuse *bfuse);
|
2019-09-25 08:47:02 +00:00
|
|
|
|
|
|
|
#endif /* SPDK_BLOBFS_FUSE_H */
|