Async. read-ahead would not be reliable, would it? The next time you
(as in your process that wants this data block) context switches in, the
read-ahead data may have disappeared from the buffer cache. Theres also
this added complication of second level indirection coming from the
inode.
AFAIK, the only way to guarantee non-blocking reads is by leaving
another context inside the kernel either by means of kernel threads or
another process whose sole job is to handle these reads while allowing
the other process to do other things.
Cheers,
Nitin.
>
> Greetings,
> Arjan van de Ven
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/