July 1, 2026
6:44 p.m.
I think what really matters here is that there is no attempt to preserve command order, but it's not clear if that happens in all cases. For example we don't need to serialize read requests for different streams. Regarding the test, I agree with @rbernon, it looks large and fragile. I suggest testing (with external program for example) other methods when seeking never completes, by using some source stub that never finishes seeking. I suspect we need to keep track of read requests until seek is finished, because there is no way for the user to know when that happens. That's where it differs from OnFlush(). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11174#note_144629