Write-stream IDs
Write-stream IDs
Posted Apr 9, 2015 18:11 UTC (Thu) by HIGHGuY (subscriber, #62277)In reply to: Write-stream IDs by dlang
Parent article: Write-stream IDs
Interesting idea.
I guess it could be worked around by assigning quasi-random (sequential) numbers to each open file and then having:
fadvise(initial_fd, ... , POSIX_FADVISE_SIMILAR, new_fd, ...);
to assign initial_fd's number to that of new_fd.