lkml.org 
[lkml]   [2002]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH] O_STREAMING - flag for optimal streaming I/O
    Date
    On Tuesday 08 October 2002 04:38, Robert Love wrote:
    > Attached patch implements an O_STREAMING file I/O flag which enables
    > manual drop-behind of pages.
    >
    > If the file has O_STREAMING set then the user has explicitly said "this
    > is streaming data, I know I will not revisit this, do not cache
    > anything". So we drop pages from the pagecache before our current
    > index. We have to fiddle a bit to get writes working since we do
    > write-behind but the logic is there and it works.

    Great ;-)
    This is the nice way of doing what the akpm-patch did for me a while ago.

    roy

    --
    Roy Sigurd Karlsbakk, Datavaktmester
    ProntoTV AS - http://www.pronto.tv/
    Tel: +47 9801 3356

    Computers are like air conditioners.
    They stop working when you open Windows.

    -
    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 13:29    [W:0.020 / U:59.252 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site