mount: limit background requests and congestion threshold

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

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()...)