lkml.org 
[lkml]   [2004]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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/

    \
     
     \ /
      Last update: 2005-03-22 14:06    [W:0.019 / U:31.420 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site