Re: [PATCH][RFC] dynamic pipe resizing

2007-12-15 Thread Ingo Oeser
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'

Re: [PATCH][RFC] dynamic pipe resizing

2007-12-15 Thread Jan Engelhardt
On Aug 24 2007 10:52, Jens Axboe wrote: >Subject: [PATCH][RFC] dynamic pipe resizing > >Hi, > >Dabbling around with splice a bit, I added some code to change the size >of a pipe. Currently it's hardcoded as 16 pages, with this patch you can >shrink (if you wanted) or grow

Re: [PATCH][RFC] dynamic pipe resizing

2007-12-15 Thread Jan Engelhardt
On Aug 24 2007 10:52, Jens Axboe wrote: Subject: [PATCH][RFC] dynamic pipe resizing Hi, Dabbling around with splice a bit, I added some code to change the size of a pipe. Currently it's hardcoded as 16 pages, with this patch you can shrink (if you wanted) or grow (the likely scenario) if you

Re: [PATCH][RFC] dynamic pipe resizing

2007-12-15 Thread Ingo Oeser
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

Re: [PATCH][RFC] dynamic pipe resizing

2007-08-27 Thread Jens Axboe
On Fri, Aug 24 2007, Jan Engelhardt wrote: > > On Aug 24 2007 10:52, Jens Axboe wrote: > >Hi, > > > >Dabbling around with splice a bit, I added some code to change the size > >of a pipe. Currently it's hardcoded as 16 pages, with this patch you can > >shrink (if you wanted) or grow (the likely

Re: [PATCH][RFC] dynamic pipe resizing

2007-08-27 Thread Jens Axboe
On Fri, Aug 24 2007, Jan Engelhardt wrote: On Aug 24 2007 10:52, Jens Axboe wrote: Hi, Dabbling around with splice a bit, I added some code to change the size of a pipe. Currently it's hardcoded as 16 pages, with this patch you can shrink (if you wanted) or grow (the likely scenario) if

Re: [PATCH][RFC] dynamic pipe resizing

2007-08-24 Thread Jan Engelhardt
On Aug 24 2007 10:52, Jens Axboe wrote: >Hi, > >Dabbling around with splice a bit, I added some code to change the size >of a pipe. Currently it's hardcoded as 16 pages, with this patch you can >shrink (if you wanted) or grow (the likely scenario) if you want to >increase the size of your

[PATCH][RFC] dynamic pipe resizing

2007-08-24 Thread Jens Axboe
Hi, Dabbling around with splice a bit, I added some code to change the size of a pipe. Currently it's hardcoded as 16 pages, with this patch you can shrink (if you wanted) or grow (the likely scenario) if you want to increase the size of your in-kernel buffer for splice operations. Like with my

[PATCH][RFC] dynamic pipe resizing

2007-08-24 Thread Jens Axboe
Hi, Dabbling around with splice a bit, I added some code to change the size of a pipe. Currently it's hardcoded as 16 pages, with this patch you can shrink (if you wanted) or grow (the likely scenario) if you want to increase the size of your in-kernel buffer for splice operations. Like with my

Re: [PATCH][RFC] dynamic pipe resizing

2007-08-24 Thread Jan Engelhardt
On Aug 24 2007 10:52, Jens Axboe wrote: Hi, Dabbling around with splice a bit, I added some code to change the size of a pipe. Currently it's hardcoded as 16 pages, with this patch you can shrink (if you wanted) or grow (the likely scenario) if you want to increase the size of your in-kernel