mount: use direct_io to avoid OS page cache

fix https://github.com/chrislusf/seaweedfs/issues/1752
This commit is contained in:
Chris Lu
2021-01-22 22:39:46 -08:00
parent 711c3f3939
commit 20ef3bb8d4
4 changed files with 21 additions and 2 deletions

View File

@@ -0,0 +1,7 @@
//+build !darwin
package filesys
const (
USE_DIRECT_IO = true
)