lkml.org 
[lkml]   [2010]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch] pipe: add support for shrinking and growing pipes
    On Mon, May 24 2010, Michael Kerrisk wrote:
    > On Mon, May 24, 2010 at 7:35 PM, Jens Axboe <jens.axboe@oracle.com> wrote:
    > > On Mon, May 24 2010, Michael Kerrisk wrote:
    > >> > Right, that looks like a thinko.
    > >> >
    > >> > I'll submit a patch changing it to bytes and the agreed API and fix this
    > >> > -Eerror. Thanks for your comments and suggestions!
    > >>
    > >> Thanks. And of course you are welcome. (Please CC linux-api@vger on
    > >> this patche (and all patches that change the API/ABI.)
    > >
    > > The first change is this:
    > >
    > > http://git.kernel.dk/?p=linux-2.6-block.git;a=commit;h=0191f8697bbdfefcd36e7b8dc3eeddfe82893e4b
    > >
    > > and the one dealing with the pages vs bytes API is this:
    > >
    > > http://git.kernel.dk/?p=linux-2.6-block.git;a=commit;h=b9598db3401282bb27b4aef77e3eee12015f7f29
    > >
    > > Not tested yet, will do so before sending in of course.
    >
    > Eyeballing it quickly, these changes look right.

    Good, thanks.

    > Do you have some test programs you can make available?

    Actually I don't, I test it by modifying fio's splice engine to set/get
    the pipe size and test the resulting transfers.

    --
    Jens Axboe



    \
     
     \ /
      Last update: 2010-05-24 19:59    [W:2.633 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site