mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-05 06:10:10 -05:00
allow setting of 'max_pages' (via 'fuse_msg_size')
Linux 4.20 and above allow setting the number of pages per FUSE message upto 256 (4K * 256 = 1MiB). This can greatly increase read and write speeds depending on the workload.
This commit is contained in:
parent
24af276542
commit
7cbd88ac81
14 changed files with 345 additions and 210 deletions
|
|
@ -113,6 +113,7 @@ public:
|
|||
bool cache_readdir;
|
||||
bool async_read;
|
||||
CacheFiles cache_files;
|
||||
uint16_t fuse_msg_size;
|
||||
|
||||
public:
|
||||
const Policy *policies[FuseFunc::Enum::END];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue