Commit 59d56e9f authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Switch on big writes; this speeds up bulk transfers by a factor 8.

parent ddde0e88
......@@ -473,7 +473,8 @@ func initFuse(state *MountState, h *InHeader, input *InitIn) (Empty, Status) {
out.Major = FUSE_KERNEL_VERSION
out.Minor = FUSE_KERNEL_MINOR_VERSION
out.MaxReadAhead = input.MaxReadAhead
out.Flags = FUSE_ASYNC_READ | FUSE_POSIX_LOCKS
out.Flags = FUSE_ASYNC_READ | FUSE_POSIX_LOCKS | FUSE_BIG_WRITES
out.MaxWrite = maxRead
return out, OK
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment