Read-ahead is only really useful when done asynchronously. That means,
if a process requests disk block 1 from the file, it should block until disk
block 1 is read in, but once that read is complete, control should
return to the process immediately. The read-ahead request for disk
block 2 should be handled asynchronously, in the background.
Read-ahead is only really useful when done asynchronously. That means,
if a process requests disk block 1 from the file, it should block until disk
block 1 is read in, but once that read is complete, control should
return to the process immediately. The read-ahead request for disk
block 2 should be handled asynchronously, in the background.