mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-22 16:36:27 +01:00
13 lines
272 B
Go
13 lines
272 B
Go
package fs
|
|
|
|
import (
|
|
"os"
|
|
)
|
|
|
|
// MustFadviseSequentialRead hints the OS that f is read mostly sequentially.
|
|
//
|
|
// if prefetch is set, then the OS is hinted to prefetch f data.
|
|
func MustFadviseSequentialRead(f *os.File, prefetch bool) {
|
|
// TODO: implement this properly
|
|
}
|