mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Simplify lowlevel fuse state management and req mem
This commit is contained in:
parent
9a261ca3a0
commit
d5cdd553b5
14 changed files with 376 additions and 307 deletions
18
libfuse/include/fuse_req.hpp
Normal file
18
libfuse/include/fuse_req.hpp
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#pragma once
|
||||
|
||||
#include "fuse_req_ctx.h"
|
||||
#include "fuse_conn_info.hpp"
|
||||
|
||||
struct fuse_chan;
|
||||
|
||||
typedef struct fuse_req_t fuse_req_t;
|
||||
struct fuse_req_t
|
||||
{
|
||||
fuse_req_ctx_t ctx;
|
||||
struct fuse_chan *ch;
|
||||
fuse_conn_info_t conn;
|
||||
unsigned int ioctl_64bit : 1;
|
||||
};
|
||||
|
||||
fuse_req_t* fuse_req_alloc();
|
||||
void fuse_req_free(fuse_req_t*);
|
||||
Loading…
Add table
Add a link
Reference in a new issue