Re: [PATCH 1/6] ioprio: move io priority from task_struct to io_context

2008-01-23 Thread Jens Axboe
On Wed, Jan 23 2008, Andrew Morton wrote: > > On Tue, 22 Jan 2008 10:49:16 +0100 Jens Axboe <[EMAIL PROTECTED]> wrote: > > This is where it belongs and then it doesn't take up space for a > > process that doesn't do IO. > > > > ... > > > > struct io_context *get_io_context(gfp_t gfp_flags, int no

Re: [PATCH 1/6] ioprio: move io priority from task_struct to io_context

2008-01-23 Thread Andrew Morton
> On Tue, 22 Jan 2008 10:49:16 +0100 Jens Axboe <[EMAIL PROTECTED]> wrote: > This is where it belongs and then it doesn't take up space for a > process that doesn't do IO. > > ... > > struct io_context *get_io_context(gfp_t gfp_flags, int node) > { > - struct io_context *ret; > - ret = c

[PATCH 1/6] ioprio: move io priority from task_struct to io_context

2008-01-22 Thread Jens Axboe
This is where it belongs and then it doesn't take up space for a process that doesn't do IO. Signed-off-by: Jens Axboe <[EMAIL PROTECTED]> --- block/cfq-iosched.c | 34 +-- block/ll_rw_blk.c | 42 --- fs/ioprio.c | 29 +