aboutsummaryrefslogtreecommitdiff
path: root/mount.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2023-05-17 15:37:11 +0200
committerJakob Unterwurzacher2023-05-17 15:48:23 +0200
commitb4defa636b901d992165e2a828872dd410c48292 (patch)
tree911b041667b2bb46b79cc0dbd0cf17a06c337368 /mount.go
parent199a74bc1ae49cdda486095b8daa8034510943a6 (diff)
mount: drop "max_read="
go-fuse now sets this internally. Regression-tested in TestDirectMount.
Diffstat (limited to 'mount.go')
-rw-r--r--mount.go2
1 files changed, 0 insertions, 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