mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
12 lines
272 B
Go
12 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
|
|
}
|