io context sharing: preliminary support

Detach task state from ioc, instead keep track of how many processes
are accessing the ioc.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
This commit is contained in:
Jens Axboe 2008-01-24 08:53:35 +01:00
parent fd0928df98
commit d38ecf935f
5 changed files with 49 additions and 23 deletions

View file

@ -805,7 +805,6 @@ static int copy_io(struct task_struct *tsk)
if (unlikely(!tsk->io_context))
return -ENOMEM;
tsk->io_context->task = tsk;
tsk->io_context->ioprio = ioc->ioprio;
}
#endif