mount: use direct_io to avoid OS page cache
fix https://github.com/chrislusf/seaweedfs/issues/1752
This commit is contained in:
7
weed/filesys/file_other.go
Normal file
7
weed/filesys/file_other.go
Normal file
@@ -0,0 +1,7 @@
|
||||
//+build !darwin
|
||||
|
||||
package filesys
|
||||
|
||||
const (
|
||||
USE_DIRECT_IO = true
|
||||
)
|
||||
Reference in New Issue
Block a user