mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-04 05:40:13 -05:00
Manage cloned /dev/fuse fds in sessions
- Store cloned read-worker fds on fuse_session and close them there. - Set up clone fallback through session helpers used by the loop. - Carry per-request fds through receive, process, and reply paths. Tests show significant performance increases in highly concurrent workloads on a high core count system. Upto 15% better on reads and 27% on writes.
This commit is contained in:
parent
5f7fa17ad8
commit
7ec6f8e2f2
5 changed files with 162 additions and 33 deletions
|
|
@ -10,6 +10,7 @@ struct fuse_req_t
|
|||
{
|
||||
fuse_req_ctx_t ctx;
|
||||
struct fuse_session *se;
|
||||
int fd;
|
||||
fuse_conn_info_t conn;
|
||||
unsigned int ioctl_64bit : 1;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue