diff options
author | Jakob Unterwurzacher | 2023-05-17 15:37:11 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2023-05-17 15:48:23 +0200 |
commit | b4defa636b901d992165e2a828872dd410c48292 (patch) | |
tree | 911b041667b2bb46b79cc0dbd0cf17a06c337368 | |
parent | 199a74bc1ae49cdda486095b8daa8034510943a6 (diff) |
mount: drop "max_read="
go-fuse now sets this internally.
Regression-tested in TestDirectMount.
-rw-r--r-- | mount.go | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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 |