From b4defa636b901d992165e2a828872dd410c48292 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Wed, 17 May 2023 15:37:11 +0200 Subject: [PATCH] mount: drop "max_read=" go-fuse now sets this internally. Regression-tested in TestDirectMount. --- mount.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/mount.go b/mount.go index 5cd90a7..a229245 100644 --- a/mount.go +++ b/mount.go @@ -2,7 +2,6 @@ package main import ( "bytes" - "fmt" "log" "log/syslog" "math" @@ -388,7 +387,6 @@ func initGoFuse(rootNode fs.InodeEmbedder, args *argContainer) *fuse.Server { // have it >128kiB. We cannot handle more than 128kiB, so we tell // the kernel to limit the size explicitly. MaxWrite: fuse.MAX_KERNEL_WRITE, - Options: []string{fmt.Sprintf("max_read=%d", fuse.MAX_KERNEL_WRITE)}, Debug: args.fusedebug, // The kernel usually submits multiple read requests in parallel, // which means we serve them in any order. Out-of-order reads are