syndicate-storage / syndicate

Internet-scale software-defined storage system
Apache License 2.0
56 stars 10 forks source link

Read-ahead vs read-random #120

Open jcnelson opened 9 years ago

jcnelson commented 9 years ago

Implement file xattrs to tag a file's I/O profile as either "read-ahead" (if the file will be read in its entirety) or "read-random" (if the file will be accessed randomly). If "read-ahead" is selected, then download all file blocks on any read. "read-random" is what we implement now.