Dec. 21, 2025
11:55 a.m.
Note that Wine has differences with Windows WRT file IO optimization details (for one, we don’t support asynchronous IO for regular files and perform it synchronously). IO caching works differently on Windows and Linux, I think Linux normally caches much more. I am afraid that making no buffering flag really work may do more harm than good by affecting apps IO perfectly if they use it. I’d suggest not to try to actually favour non-buffered IO flag motivated only by benchmarking software. Also, O_DIRECT implies limitations (e.g. extra alignment for data), not sure this can work as is. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9809#note_125973