Messages in this thread | ![/](/images/icornerl.gif) | | Date | Sat, 25 Sep 2004 10:45:03 +1000 | From | Nick Piggin <> | Subject | Re: [PATCH/RFC] Simplified Readahead |
| |
Andrew Morton wrote: > Steven Pratt <slpratt@austin.ibm.com> wrote:
>>Can you expand on the POSIX_FADV_WILLNEED. > > > It's an application-specified readahead hint. It should ideally be > asynchronous so the application can get some I/O underway while it's > crunching on something else. If the queue is contested then the > application will accidentally block when launching the readahead, which > kinda defeats the purpose. > > Yes, the application will block when it does the subsequent read() anyway, > but applications expect to block in read(). Seems saner this way.
Good point. I guess you're right. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |