[go: up one dir, main page]

|
|
Log in / Subscribe / Register

SAM / DAM files

SAM / DAM files

Posted Apr 12, 2022 2:46 UTC (Tue) by Fowl (subscriber, #65667)
In reply to: SAM / DAM files by Wol
Parent article: Readahead: the documentation I wanted to read

Windows has FILE_FLAG_SEQUENTIAL_SCAN and FILE_FLAG_RANDOM_ACCESS "hints" that can be passed when opening files, indeed.

https://devblogs.microsoft.com/oldnewthing/20120120-00/?p...


to post comments

SAM / DAM files

Posted Apr 12, 2022 9:44 UTC (Tue) by farnz (subscriber, #17727) [Link]

And on the POSIX side, there's posix_fadvise, which has those two options, plus 3 more for telling the kernel what you're planning to do in the near future.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds