|
|
Subscribe / Log in / New account

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.


to post comments


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