Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for FadviseDontNeed (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/disk/fdatasync_linux.go

    // do not require all metadata to be synchronized with the disk.
    func Fdatasync(f *os.File) error {
    	return syscall.Fdatasync(int(f.Fd()))
    }
    
    // FadviseDontNeed invalidates page-cache
    func FadviseDontNeed(f *os.File) error {
    	return unix.Fadvise(int(f.Fd()), 0, 0, unix.FADV_DONTNEED)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Sep 29 23:40:28 GMT 2021
    - 1.8K bytes
    - Click Count (0)
Back to Top