]>
git.proxmox.com Git - ceph.git/blob - ceph/src/os/FuseStore.h
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
4 #ifndef CEPH_OS_FUSESTORE_H
5 #define CEPH_OS_FUSESTORE_H
12 #include "common/Thread.h"
13 #include "include/buffer.h"
20 std::string mount_point
;
30 std::map
<std::string
,OpenFile
*> open_files
;
32 int open_file(std::string p
, struct fuse_file_info
*fi
,
33 std::function
<int(bufferlist
*bl
)> f
);
35 class FuseThread
: public Thread
{
38 explicit FuseThread(FuseStore
*f
) : fs(f
) {}
39 void *entry() override
{
45 FuseStore(ObjectStore
*s
, std::string p
);