mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-20 07:19:17 +01:00
lib/fs: fix GOOS=openbsd build by adding fadviseSequentialRead
implementation.
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/785
This commit is contained in:
parent
812c670d60
commit
97b836a6f4
10
lib/fs/fadvise_openbsd.go
Normal file
10
lib/fs/fadvise_openbsd.go
Normal file
@ -0,0 +1,10 @@
|
||||
package fs
|
||||
|
||||
import (
|
||||
"os"
|
||||
)
|
||||
|
||||
func fadviseSequentialRead(f *os.File, prefetch bool) error {
|
||||
// TODO: implement this properly
|
||||
return nil
|
||||
}
|
Loading…
Reference in New Issue
Block a user