lib/fs: fix GOOS=openbsd build by adding fadviseSequentialRead implementation.

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/785
This commit is contained in:
Aliaksandr Valialkin 2020-10-05 23:31:14 +03:00
parent 812c670d60
commit 97b836a6f4

10
lib/fs/fadvise_openbsd.go Normal file
View File

@ -0,0 +1,10 @@
package fs
import (
"os"
)
func fadviseSequentialRead(f *os.File, prefetch bool) error {
// TODO: implement this properly
return nil
}