Re: [patch] pipe: add support for shrinking and growing pipes

From: Jens Axboe
Date: Thu May 20 2010 - 13:49:02 EST


On Thu, May 20 2010, Linus Torvalds wrote:
>
>
> On Thu, 20 May 2010, Jens Axboe wrote:
> >
> > The main reason I didn't push it before is that I wasn't completely sure
> > that we wanted to use fcntl() for this. But Linus doesn't seem to object
> > on that side at least.
>
> Well, I don't object as long as there is some real use-case. If it's a
> "feature just for the sake of the feature" kind of theoretical "shouldn't
> we be able to do this" thing, I don't think we should do it.
>
> But it sounded like Miklos actually had a reason for the request.

Yeah, I'd say his 4x results pretty much speak for themselves. I've
observed splice being slower as well here for high bandwidth testing,
the 64kb max buffer size ends up hurting there. So I'm very convinced
that this is a good idea. I have been for a while, was just waiting for
someone else to pop up with an independent need and results to help
shove it in :-)

--
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/