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:
Antonio SJ Musumeci 2019-05-30 18:59:18 -04:00
parent 24af276542
commit 7cbd88ac81
14 changed files with 345 additions and 210 deletions

View file

@ -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 \