diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2008-01-24 02:53:35 -0500 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-01-28 04:50:31 -0500 |
commit | d38ecf935fcb10264a6bc190855d9595165e6eeb (patch) | |
tree | 64e3146ef76678ad3ae8f75c32df9f25ea470953 /kernel/fork.c | |
parent | fd0928df98b9578be8a786ac0cb78a47a5e17a20 (diff) |
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>
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 2a86c9dff744..1987c57abb08 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -805,7 +805,6 @@ static int copy_io(struct task_struct *tsk) | |||
805 | if (unlikely(!tsk->io_context)) | 805 | if (unlikely(!tsk->io_context)) |
806 | return -ENOMEM; | 806 | return -ENOMEM; |
807 | 807 | ||
808 | tsk->io_context->task = tsk; | ||
809 | tsk->io_context->ioprio = ioc->ioprio; | 808 | tsk->io_context->ioprio = ioc->ioprio; |
810 | } | 809 | } |
811 | #endif | 810 | #endif |