[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <200712152323.07218.ioe-lkml@rameria.de>
Date: Sat, 15 Dec 2007 23:23:06 +0100
From: Ingo Oeser <ioe-lkml@...eria.de>
To: Jan Engelhardt <jengelh@...putergmbh.de>
Cc: Jens Axboe <jens.axboe@...cle.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][RFC] dynamic pipe resizing
On Saturday 15 December 2007, Jan Engelhardt wrote:
> On Aug 24 2007 10:52, Jens Axboe wrote:
> >Subject: [PATCH][RFC] dynamic pipe resizing
> >Like with my original splice patches from 2005, I used fcntl()
> >F_GETPIPE_SZ and F_SETPIPE_SZ to change the size of the pipe. I'm not
> >particularly fond of that interface, so suggestions on how to improve it
> >would be appreciated. Even if fcntl() should be the preferred approach,
> >I think it would be better to pass in a byte based value instead of a
> >number of pages.
> >
> Could this patch still make it in?
> Yes, I think its set() and get() parts should use bytes and convert
> to/from pages.
>
> Perhaps just round up, and mention the rounding in the manpage, so that
> noone gets a shock when the pipe is not exactly as small as requested.
Yes, but document only that it is rounding and make the unit arbitrary.
That reduces the ABI requirements.
Best Regards
Ingo Oeser
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists