mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-05 14:20:03 -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
|
|
@ -1,5 +1,5 @@
|
|||
VERSION = "2.9.7-mergerfs_2.28.0"
|
||||
OPT = -O2
|
||||
OPTS = -O2
|
||||
|
||||
ifeq ($(DEBUG),1)
|
||||
DEBUG_FLAGS := -g
|
||||
|
|
@ -28,7 +28,7 @@ OBJS = $(SRC:lib/%.c=build/%.o)
|
|||
DEPS = $(SRC:lib/%.c=build/%.d)
|
||||
|
||||
CFLAGS += \
|
||||
$(OPT) \
|
||||
$(OPTS) \
|
||||
$(DEBUG_FLAGS) \
|
||||
-Wall \
|
||||
-pipe \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue