mount: limit background requests and congestion threshold

This commit is contained in:
Chris Lu committed 2021-01-20 23:30:14 -08:00
1 parent f98817cfe6
commit 84f05787f8
3 files changed
+6 -1

No files matched your search

+2
View File
@@ -150,6 +150,8 @@ func RunMount(option *MountOptions, umask os.FileMode) bool {
fuse.MaxReadahead(1024 * 128),
fuse.AsyncRead(),
fuse.WritebackCache(),
fuse.MaxBackground(128),
fuse.CongestionThreshold(128),
}
options = append(options, osSpecificMountOptions()...)